HWI/setup.py
Andrew Chow 47c3951eb4 Install all necessary libraries correctly
Some libraries were missing, so install them in the setup.py
2019-01-07 11:13:48 -05:00

35 lines
1.0 KiB
Python

import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="hwi",
version="0.0.4",
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/achow101/hwi",
packages=setuptools.find_packages(exclude=['docs', 'test']),
install_requires=[
'hidapi', # HID API needed in general
'trezor>=0.11.0', # Trezor One
'btchip-python', # Ledger Nano S
'keepkey', # KeepKey
'ckcc-protocol[cli]', # Coldcard
'pyaes',
'ecdsa', # Needed for Ledger but their library does not install it
],
python_requires='>=3',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
extras_require={
'tests': ['python-bitcoinrpc']
}
)