1
0

clear up requirements re pycryptodomex

This commit is contained in:
SomberNight
2020-03-04 19:39:48 +01:00
parent 74a3faf803
commit adc97af58c
8 changed files with 51 additions and 40 deletions

View File

@@ -53,8 +53,13 @@ if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
extras_require = {
'hardware': requirements_hw,
'gui': ['pyqt5'],
'crypto': ['pycryptodomex>=3.7'],
'tests': ['pycryptodomex>=3.7', 'cryptography>=2.1'],
}
extras_require['full'] = [pkg for sublist in list(extras_require.values()) for pkg in sublist]
# 'full' extra that tries to grab everything an enduser would need (except for libsecp256k1...)
extras_require['full'] = [pkg for sublist in ['hardware', 'gui', 'crypto'] for pkg in sublist]
# legacy. keep 'fast' extra working
extras_require['fast'] = extras_require['crypto']
setup(