Skip to content

Commit

Permalink
Replace pycrypto with pycryptodome
Browse files Browse the repository at this point in the history
  • Loading branch information
mattias-lidman authored and sirosen committed Sep 11, 2017
1 parent 4e5cdbb commit a3e5716
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pycrypto
pycryptodome
six
future
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ commands =
py.test --cov-report term-missing --cov jose
deps =
future
pycrypto
pycryptodome
ecdsa
pytest
pytest-cov
Expand Down

0 comments on commit a3e5716

Please sign in to comment.