diff options
author | Mike Crute <mike@crute.us> | 2017-09-30 22:18:26 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2017-09-30 23:09:18 +0000 |
commit | 6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f (patch) | |
tree | 8b563221ef8bcb1cc9f4f7c739c791dc21142ee9 /setup.py | |
parent | fdfb18a78e0014d362a2e0654eabf706094e4f09 (diff) | |
download | pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.tar.bz2 pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.tar.xz pydora-6b97dd6d8a01ff56b7f70a160fbaf59ddec5c60f.zip |
Remove PyCrypto and add Cryptography
PyCrypto is no longer supported nor recommended. Cryptography is the
replacement package which is actively maintained by the Python core
committers. Also Cryptography is bundled as binary wheels for all the
platforms we support which removes the install-tiem compiler
requirement, making it easier to distribute Pydora. This commit replaces
all usages of PyCrypto with Cryptography but is completely API
compatible with the previous version.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -56,12 +56,12 @@ setup( | |||
56 | "flake8>=3.3", | 56 | "flake8>=3.3", |
57 | ], | 57 | ], |
58 | tests_require=[ | 58 | tests_require=[ |
59 | "mock>=2.0", | 59 | "mock>=2,<3", |
60 | "coverage>=4.1", | 60 | "coverage>=4.1,<5", |
61 | ], | 61 | ], |
62 | install_requires=[ | 62 | install_requires=[ |
63 | "pycrypto>=2.6", | 63 | "cryptography>=2,<3", |
64 | "requests>=2", | 64 | "requests>=2,<3", |
65 | ], | 65 | ], |
66 | entry_points={ | 66 | entry_points={ |
67 | "console_scripts": [ | 67 | "console_scripts": [ |