Skip to content

Commit afec2cd

Browse files
committed
release: Bump to 1.2.0
1 parent 7dbcc9a commit afec2cd

File tree

3 files changed

+105
-4
lines changed

3 files changed

+105
-4
lines changed

hwilib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.2.0-rc.1'
1+
__version__ = '1.2.0'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "hwi"
3-
version = "1.2.0-rc.1"
3+
version = "1.2.0"
44
description = "A library for working with Bitcoin hardware wallets"
55
authors = ["Andrew Chow <andrew@achow101.com>"]
66
license = "MIT"

setup.py

Lines changed: 103 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,108 @@
1111
'hwilib.devices.trezorlib.transport']
1212

1313
package_data = \
14-
{'': ['*'], 'hwilib': ['udev/*', 'ui/*']}
14+
{'': ['*'],
15+
'hwilib': ['udev/*',
16+
'ui/bitbox02pairing.ui',
17+
'ui/bitbox02pairing.ui',
18+
'ui/bitbox02pairing.ui',
19+
'ui/bitbox02pairing.ui',
20+
'ui/bitbox02pairing.ui',
21+
'ui/bitbox02pairing.ui',
22+
'ui/bitbox02pairing.ui',
23+
'ui/bitbox02pairing.ui',
24+
'ui/bitbox02pairing.ui',
25+
'ui/bitbox02pairing.ui',
26+
'ui/displayaddressdialog.ui',
27+
'ui/displayaddressdialog.ui',
28+
'ui/displayaddressdialog.ui',
29+
'ui/displayaddressdialog.ui',
30+
'ui/displayaddressdialog.ui',
31+
'ui/displayaddressdialog.ui',
32+
'ui/displayaddressdialog.ui',
33+
'ui/displayaddressdialog.ui',
34+
'ui/displayaddressdialog.ui',
35+
'ui/displayaddressdialog.ui',
36+
'ui/getkeypooloptionsdialog.ui',
37+
'ui/getkeypooloptionsdialog.ui',
38+
'ui/getkeypooloptionsdialog.ui',
39+
'ui/getkeypooloptionsdialog.ui',
40+
'ui/getkeypooloptionsdialog.ui',
41+
'ui/getkeypooloptionsdialog.ui',
42+
'ui/getkeypooloptionsdialog.ui',
43+
'ui/getkeypooloptionsdialog.ui',
44+
'ui/getkeypooloptionsdialog.ui',
45+
'ui/getkeypooloptionsdialog.ui',
46+
'ui/getxpubdialog.ui',
47+
'ui/getxpubdialog.ui',
48+
'ui/getxpubdialog.ui',
49+
'ui/getxpubdialog.ui',
50+
'ui/getxpubdialog.ui',
51+
'ui/getxpubdialog.ui',
52+
'ui/getxpubdialog.ui',
53+
'ui/getxpubdialog.ui',
54+
'ui/getxpubdialog.ui',
55+
'ui/getxpubdialog.ui',
56+
'ui/hwiqt.pyproject',
57+
'ui/hwiqt.pyproject',
58+
'ui/hwiqt.pyproject',
59+
'ui/hwiqt.pyproject',
60+
'ui/hwiqt.pyproject',
61+
'ui/hwiqt.pyproject',
62+
'ui/hwiqt.pyproject',
63+
'ui/hwiqt.pyproject',
64+
'ui/hwiqt.pyproject',
65+
'ui/hwiqt.pyproject',
66+
'ui/mainwindow.ui',
67+
'ui/mainwindow.ui',
68+
'ui/mainwindow.ui',
69+
'ui/mainwindow.ui',
70+
'ui/mainwindow.ui',
71+
'ui/mainwindow.ui',
72+
'ui/mainwindow.ui',
73+
'ui/mainwindow.ui',
74+
'ui/mainwindow.ui',
75+
'ui/mainwindow.ui',
76+
'ui/sendpindialog.ui',
77+
'ui/sendpindialog.ui',
78+
'ui/sendpindialog.ui',
79+
'ui/sendpindialog.ui',
80+
'ui/sendpindialog.ui',
81+
'ui/sendpindialog.ui',
82+
'ui/sendpindialog.ui',
83+
'ui/sendpindialog.ui',
84+
'ui/sendpindialog.ui',
85+
'ui/sendpindialog.ui',
86+
'ui/setpassphrasedialog.ui',
87+
'ui/setpassphrasedialog.ui',
88+
'ui/setpassphrasedialog.ui',
89+
'ui/setpassphrasedialog.ui',
90+
'ui/setpassphrasedialog.ui',
91+
'ui/setpassphrasedialog.ui',
92+
'ui/setpassphrasedialog.ui',
93+
'ui/setpassphrasedialog.ui',
94+
'ui/setpassphrasedialog.ui',
95+
'ui/setpassphrasedialog.ui',
96+
'ui/signmessagedialog.ui',
97+
'ui/signmessagedialog.ui',
98+
'ui/signmessagedialog.ui',
99+
'ui/signmessagedialog.ui',
100+
'ui/signmessagedialog.ui',
101+
'ui/signmessagedialog.ui',
102+
'ui/signmessagedialog.ui',
103+
'ui/signmessagedialog.ui',
104+
'ui/signmessagedialog.ui',
105+
'ui/signmessagedialog.ui',
106+
'ui/signpsbtdialog.ui',
107+
'ui/signpsbtdialog.ui',
108+
'ui/signpsbtdialog.ui',
109+
'ui/signpsbtdialog.ui',
110+
'ui/signpsbtdialog.ui',
111+
'ui/signpsbtdialog.ui',
112+
'ui/signpsbtdialog.ui',
113+
'ui/signpsbtdialog.ui',
114+
'ui/signpsbtdialog.ui',
115+
'ui/signpsbtdialog.ui']}
15116

16117
modules = \
17118
['hwi', 'hwi-qt']
@@ -32,7 +133,7 @@
32133

33134
setup_kwargs = {
34135
'name': 'hwi',
35-
'version': '1.2.0rc1',
136+
'version': '1.2.0',
36137
'description': 'A library for working with Bitcoin hardware wallets',
37138
'long_description': "# Bitcoin Hardware Wallet Interface\n\n[![Build Status](https://travis-ci.org/bitcoin-core/HWI.svg?branch=master)](https://travis-ci.org/bitcoin-core/HWI)\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.dependecies]` 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## Device Support\n\nThe below table lists what devices and features are supported for each device.\n\nPlease also see [docs](docs/) for additional information about each device.\n\n| Feature \\ Device | Ledger Nano X | Ledger Nano S | Trezor One | Trezor Model T | BitBox01 | BitBox02 | KeepKey | Coldcard |\n|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|:---:|\n| Support Planned | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| Implemented | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| xpub retrieval | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| Message Signing | Yes | Yes | Yes | Yes | Yes | N/A | Yes | Yes |\n| Device Setup | N/A | N/A | Yes | Yes | Yes | Yes | Yes | N/A |\n| Device Wipe | N/A | N/A | Yes | Yes | Yes | Yes | Yes | N/A |\n| Device Recovery | N/A | N/A | Yes | Yes | N/A | Yes | Yes | N/A |\n| Device Backup | N/A | N/A | N/A | N/A | Yes | Yes | N/A | Yes |\n| P2PKH Inputs | Yes | Yes | Yes | Yes | Yes | N/A | Yes | Yes |\n| P2SH-P2WPKH Inputs | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| P2WPKH Inputs | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| P2SH Multisig Inputs | Yes | Yes | Yes | Yes | Yes | N/A | Yes | Yes |\n| P2SH-P2WSH Multisig Inputs | Yes | Yes | Yes | Yes | Yes | N/A | Yes | Yes |\n| P2WSH Multisig Inputs | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |\n| Bare Multisig Inputs | Yes | Yes | N/A | N/A | Yes | N/A | N/A | N/A |\n| Arbitrary scriptPubKey Inputs | Yes | Yes | N/A | N/A | Yes | N/A | N/A | N/A |\n| Arbitrary redeemScript Inputs | Yes | Yes | N/A | N/A | Yes | N/A | N/A | N/A |\n| Arbitrary witnessScript Inputs | Yes | Yes | N/A | N/A | Yes | N/A | N/A | N/A |\n| Non-wallet inputs | Yes | Yes | Yes | Yes | Yes | N/A | Yes | Yes |\n| Mixed Segwit and Non-Segwit Inputs | N/A | N/A | Yes | Yes | Yes | Yes | Yes | Yes |\n| Display on device screen | Yes | Yes | Yes | Yes | N/A | Yes | Yes | Yes |\n\n## Using with Bitcoin Core\n\nSee [Using Bitcoin Core with Hardware Wallets](docs/bitcoin-core-usage.md).\n\n## License\n\nThis project is available under the MIT License, Copyright Andrew Chow.\n",
38139
'author': 'Andrew Chow',

0 commit comments

Comments
 (0)