Use pycryptodomex on windows and PyCrypto on the rest

Because PyCrypto on windows needs to be patched.
This commit is contained in:
Pedro Algarvio 2019-03-31 14:53:41 +01:00
parent 4a9c19ca1f
commit 75693e5fe3
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF
2 changed files with 3 additions and 2 deletions

View file

@ -15,7 +15,6 @@ more-itertools==5.0.0
msgpack-python >= 0.4.2, != 0.5.5
patch
psutil
pycryptodomex
pyopenssl
python-etcd==0.4.2
python-gnupg

View file

@ -1,5 +1,7 @@
-r base.txt
pycrypto>=2.6.1
# PyCrypto has issues on Windows, while pycryptodomex does not
pycrypto>=2.6.1; sys.platform != 'win32'
pycryptodomex; sys.platform == 'win32'
pyzmq>=2.2.0,<17.1.0; python_version == '3.4' # pyzmq 17.1.0 stopped building wheels for python3.4
pyzmq>=2.2.0; python_version != '3.4'