mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Remove the setuptools and CFFI requirements, which break pip install -U
PyPy ships with CFFI, but pip install -U will upgrade it if a newer CFFI is available, which will break the CFFI installation (and PyPy itself).
This commit is contained in:
parent
4733b47c9a
commit
4cf3811376
1 changed files with 3 additions and 1 deletions
4
setup.py
4
setup.py
|
|
@ -35,7 +35,6 @@ SIX_DEPENDENCY = "six>=1.4.1"
|
|||
VECTORS_DEPENDENCY = "cryptography_vectors=={0}".format(about['__version__'])
|
||||
|
||||
requirements = [
|
||||
CFFI_DEPENDENCY,
|
||||
"pyasn1",
|
||||
SIX_DEPENDENCY,
|
||||
SETUPTOOLS_DEPENDENCY
|
||||
|
|
@ -44,6 +43,9 @@ requirements = [
|
|||
if sys.version_info < (3, 4):
|
||||
requirements.append("enum34")
|
||||
|
||||
if platform.python_implementation() != "PyPy":
|
||||
requirements.append(CFFI_DEPENDENCY)
|
||||
|
||||
# If you add a new dep here you probably need to add it in the tox.ini as well
|
||||
test_requirements = [
|
||||
"pytest",
|
||||
|
|
|
|||
Loading…
Reference in a new issue