39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
import setuptools
|
|
|
|
with open("README.md", "r") as fh:
|
|
long_description = fh.read()
|
|
|
|
setuptools.setup(
|
|
name="hwi",
|
|
version="0.0.5",
|
|
author="Andrew Chow",
|
|
author_email="andrew@achow101.com",
|
|
description="A library for working with Bitcoin hardware wallets",
|
|
long_description=long_description,
|
|
long_description_content_type="text/markdown",
|
|
url="https://github.com/bitcoin-core/hwi",
|
|
packages=setuptools.find_packages(exclude=['docs', 'test']),
|
|
install_requires=[
|
|
'hidapi', # HID API needed in general
|
|
'pyaes',
|
|
'ecdsa', # Needed for Ledger but their library does not install it
|
|
'typing_extensions>=3.7',
|
|
'mnemonic>=0.18.0',
|
|
'libusb1'
|
|
],
|
|
python_requires='>=3',
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
extras_require={
|
|
'tests': ['python-bitcoinrpc']
|
|
},
|
|
entry_points={
|
|
'console_scripts': [
|
|
'hwi = hwilib.cli:main'
|
|
]
|
|
}
|
|
)
|