Browse Source

setup.py: use extras_require

patch-2
Neil Booth 6 years ago
parent
commit
0a279d2fe1
  1. 18
      setup.py

18
setup.py

@ -7,15 +7,19 @@ setuptools.setup(
scripts=['electrumx_server', 'electrumx_rpc', 'electrumx_compact_history'],
python_requires='>=3.6',
# via environment variables, in which case I've tested with 15.0.4
# "x11_hash" package (1.4) is required to sync DASH network.
# "x13_hash" package is required to sync BitcoinPlus network.
# "tribus_hash" package is required to sync Denarius network.
# "blake256" package is required to sync Decred network.
# "xevan_hash" package is required to sync Xuez network.
# "groestlcoin_hash" package is required to sync Groestlcoin network.
# "pycryptodomex" package is required to sync SmartCash network.
install_requires=['aiorpcX>=0.15.0,<0.16', 'attrs',
'plyvel', 'pylru', 'aiohttp>=3.3'],
extras_require={
'rocksdb': ['python-rocksdb>=0.6.9'],
'uvloop': ['uvloop>=0.12.2'], # Bump when the uvloop connection_lost bug is fixed
# For various coins
'blake256': ['blake256>=0.1.1'],
'crypto': ['pycryptodomex>=3.8.1'],
'groestl': ['groestlcoin-hash>=1.0.1'],
'tribus-hash': ['tribus-hash>=1.0.2'],
'xevan-hash': ['xeven-hash'],
'x11-hash': ['x11-hash>=1.4'],
},
packages=setuptools.find_packages(include=('electrumx*',)),
description='ElectrumX Server',
author='Neil Booth',

Loading…
Cancel
Save