diff --git a/requirements.txt b/requirements.txt index fb3ef680..42270c57 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -pycrypto +pycryptodome six future diff --git a/setup.py b/setup.py index 76863768..a505d8d8 100644 --- a/setup.py +++ b/setup.py @@ -25,12 +25,8 @@ def get_packages(package): def get_install_requires(): - if platform.python_implementation() == 'PyPy': - crypto_lib = 'pycryptodome >=3.3.1, <3.4.0' - else: - crypto_lib = 'pycrypto >=2.6.0, <2.7.0' return [ - crypto_lib, + 'pycryptodome >=3.3.1, <3.4.0', 'six <2.0', 'ecdsa <1.0', 'future <1.0', diff --git a/tox.ini b/tox.ini index f312bbba..688abc05 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ commands = py.test --cov-report term-missing --cov jose deps = future - pycrypto + pycryptodome ecdsa pytest pytest-cov