Skip to content

Commit 8338f17

Browse files
committed
Bump version to 2.3.0 and regenerate setup.py
1 parent 7fe1410 commit 8338f17

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

hwilib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.2.1"
1+
__version__ = "2.3.0"

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hwi"
3-
version = "2.2.1"
3+
version = "2.3.0"
44
description = "A library for working with Bitcoin hardware wallets"
55
authors = ["Andrew Chow <[email protected]>"]
66
license = "MIT"
@@ -50,3 +50,6 @@ hwi-qt = 'hwilib._gui:main'
5050
[build-system]
5151
requires = ["poetry>=0.12"]
5252
build-backend = "poetry.masonry.api"
53+
54+
[tool.poetry.build]
55+
generate-setup-file = true

setup.py

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
packages = \
55
['hwilib',
66
'hwilib.devices',
7+
'hwilib.devices.bitbox02_lib',
8+
'hwilib.devices.bitbox02_lib.bitbox02',
9+
'hwilib.devices.bitbox02_lib.communication',
10+
'hwilib.devices.bitbox02_lib.communication.generated',
11+
'hwilib.devices.bitbox02_lib.communication.u2fhid',
712
'hwilib.devices.ckcc',
813
'hwilib.devices.jadepy',
914
'hwilib.devices.ledger_bitcoin',
@@ -21,14 +26,16 @@
2126
modules = \
2227
['hwi', 'hwi-qt']
2328
install_requires = \
24-
['bitbox02>=6.1.0,<7.0.0',
25-
'cbor>=1.0.0,<2.0.0',
29+
['cbor>=1.0.0,<2.0.0',
2630
'ecdsa>=0,<1',
27-
'hidapi>=0,<1',
31+
'hidapi>=0.14.0',
2832
'libusb1>=1.7,<3',
2933
'mnemonic>=0,<1',
34+
'noiseprotocol>=0.3.1,<0.4.0',
35+
'protobuf>=4.23.3,<5.0.0',
3036
'pyaes>=1.6,<2.0',
3137
'pyserial>=3.5,<4.0',
38+
'semver>=3.0.1,<4.0.0',
3239
'typing-extensions>=4.4,<5.0']
3340

3441
extras_require = \
@@ -40,7 +47,7 @@
4047

4148
setup_kwargs = {
4249
'name': 'hwi',
43-
'version': '2.2.1',
50+
'version': '2.3.0',
4451
'description': 'A library for working with Bitcoin hardware wallets',
4552
'long_description': "# Bitcoin Hardware Wallet Interface\n\n[![Build Status](https://api.cirrus-ci.com/github/bitcoin-core/HWI.svg)](https://cirrus-ci.com/github/bitcoin-core/HWI)\n[![Documentation Status](https://readthedocs.org/projects/hwi/badge/?version=latest)](https://hwi.readthedocs.io/en/latest/?badge=latest)\n\nThe Bitcoin Hardware Wallet Interface is a Python library and command line tool for interacting with hardware wallets.\nIt provides a standard way for software to work with hardware wallets without needing to implement device specific drivers.\nPython software can use the provided library (`hwilib`). Software in other languages can execute the `hwi` tool.\n\nCaveat emptor: Inclusion of a specific hardware wallet vendor does not imply any endorsement of quality or security.\n\n## Prerequisites\n\nPython 3 is required. The libraries and [udev rules](hwilib/udev/README.md) for each device must also be installed. Some libraries will need to be installed\n\nFor Ubuntu/Debian:\n```\nsudo apt install libusb-1.0-0-dev libudev-dev python3-dev\n```\n\nFor Centos:\n```\nsudo yum -y install python3-devel libusbx-devel systemd-devel\n```\n\nFor macOS:\n```\nbrew install libusb\n```\n\n## Install\n\n```\ngit clone https://github.com/bitcoin-core/HWI.git\ncd HWI\npoetry install # or 'pip3 install .' or 'python3 setup.py install'\n```\n\nThis project uses the [Poetry](https://github.com/sdispater/poetry) dependency manager. HWI and its dependencies can be installed via poetry by executing the following in the root source directory:\n\n```\npoetry install\n```\n\nPip can also be used to automatically install HWI and its dependencies using the `setup.py` file (which is usually in sync with `pyproject.toml`):\n\n```\npip3 install .\n```\n\nThe `setup.py` file can be used to install HWI and its dependencies so long as `setuptools` is also installed:\n\n```\npip3 install -U setuptools\npython3 setup.py install\n```\n\n## Dependencies\n\nSee `pyproject.toml` for all dependencies. Dependencies under `[tool.poetry.dependencies]` are user dependencies, and `[tool.poetry.dev-dependencies]` for development based dependencies. These dependencies will be installed with any of the three above installation methods.\n\n## Usage\n\nTo use, first enumerate all devices and find the one that you want to use with\n\n```\n./hwi.py enumerate\n```\n\nOnce the device type and device path is known, issue commands to it like so:\n\n```\n./hwi.py -t <type> -d <path> <command> <command args>\n```\n\nAll output will be in JSON form and sent to `stdout`.\nAdditional information or prompts will be sent to `stderr` and will not necessarily be in JSON.\nThis additional information is for debugging purposes.\n\nTo see a complete list of available commands and global parameters, run\n`./hwi.py --help`. To see options specific to a particular command,\npass the `--help` parameter after the command name; for example:\n\n```\n./hwi.py getdescriptors --help\n```\n\n## Documentation\n\nDocumentation for HWI can be found on [readthedocs.io](https://hwi.readthedocs.io/).\n\n### Device Support\n\nFor documentation on devices supported and how they are supported, please check the [device support page](https://hwi.readthedocs.io/en/latest/devices/index.html#support-matrix)\n\n### Using with Bitcoin Core\n\nSee [Using Bitcoin Core with Hardware Wallets](https://hwi.readthedocs.io/en/latest/examples/bitcoin-core-usage.html).\n\n## License\n\nThis project is available under the MIT License, Copyright Andrew Chow.\n",
4653
'author': 'Andrew Chow',

0 commit comments

Comments
 (0)