Skip to content

Commit

Permalink
Merge pull request pyca#2019 from reaperhulk/simplify-setup-requires
Browse files Browse the repository at this point in the history
setup requires can be cffi only now
  • Loading branch information
dstufft committed Jun 8, 2015
2 parents 4ff26ab + 4c287d7 commit a3c7287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"six>=1.4.1",
"setuptools"
]
setup_requirements = []

if sys.version_info < (3, 4):
requirements.append("enum34")
Expand All @@ -46,6 +47,7 @@

if platform.python_implementation() != "PyPy":
requirements.append("cffi>=1.1.0")
setup_requirements.append("cffi>=1.1.0")

# If you add a new dep here you probably need to add it in the tox.ini as well
test_requirements = [
Expand Down Expand Up @@ -203,7 +205,7 @@ def argument_without_setup_requirements(argv, i):
cffi_modules.append("src/_cffi_src/build_commoncrypto.py:ffi")

return {
"setup_requires": requirements,
"setup_requires": setup_requirements,
"cmdclass": {
"test": PyTest,
},
Expand Down

0 comments on commit a3c7287

Please sign in to comment.