Skip to content

Commit

Permalink
Remove the setuptools and CFFI requirements, which break pip install -U
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Julian committed Mar 8, 2015
1 parent 4733b47 commit 4cf3811
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -35,7 +35,6 @@
VECTORS_DEPENDENCY = "cryptography_vectors=={0}".format(about['__version__'])

requirements = [
CFFI_DEPENDENCY,
"pyasn1",
SIX_DEPENDENCY,
SETUPTOOLS_DEPENDENCY
Expand All @@ -44,6 +43,9 @@
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",
Expand Down

0 comments on commit 4cf3811

Please sign in to comment.