aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2016-01-17 11:41:40 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2016-01-17 11:41:40 -0500
commit22f7ec5fc011430a4e4fe94bba049a918a11f5c8 (patch)
tree57c20b1323710d3b6831b2c43ee3bd7b8cc2e09e
parent4edafb2cf151f7aa82defd14a6a08d427cbd9010 (diff)
downloadcryptography-22f7ec5fc011430a4e4fe94bba049a918a11f5c8.tar.gz
cryptography-22f7ec5fc011430a4e4fe94bba049a918a11f5c8.tar.bz2
cryptography-22f7ec5fc011430a4e4fe94bba049a918a11f5c8.zip
syntax error
-rw-r--r--setup.py6
-rw-r--r--tox.ini24
2 files changed, 14 insertions, 16 deletions
diff --git a/setup.py b/setup.py
index f79b0e25..7faac7c7 100644
--- a/setup.py
+++ b/setup.py
@@ -57,12 +57,11 @@ else:
requirements.append("cffi>=1.4.1")
setup_requirements.append("cffi>=1.4.1")
-# If you add a new dep here you probably need to add it in the tox.ini as well
test_requirements = [
"pytest",
"pretend",
"iso8601",
- "hypothesis",
+ "hypothesis>=1.11.4",
"pyasn1_modules",
]
@@ -308,6 +307,9 @@ setup(
install_requires=requirements,
tests_require=test_requirements,
+ extras_require={
+ "test": test_requirements,
+ },
# for cffi
zip_safe=False,
diff --git a/tox.ini b/tox.ini
index 6ad82856..d5a6f861 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,12 +4,8 @@ envlist = py26,py27,pypy,py33,py34,py35,docs,pep8,py3pep8
[testenv]
# If you add a new dep here you probably need to add it in setup.py as well
deps =
+ .[test]
coverage
- iso8601
- pretend
- pytest
- hypothesis>=1.11.4
- pyasn1_modules
./vectors
passenv = ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH USERNAME
commands =
@@ -22,6 +18,15 @@ commands =
coverage combine
coverage report -m
+# This target disables coverage on pypy because of performance problems with
+# coverage.py on pypy.
+[testenv:pypy-nocoverage]
+basepython = pypy
+commands =
+ pip list
+ python -c "from cryptography.hazmat.backends.openssl.backend import backend; print(backend.openssl_version_text())"
+ py.test --capture=no --strict {posargs}
+
[testenv:docs]
deps =
doc8
@@ -46,15 +51,6 @@ basepython = python2.7
commands =
sphinx-build -W -b linkcheck docs docs/_build/html
-# This target disables coverage on pypy because of performance problems with
-# coverage.py on pypy.
-[testenv:pypy-nocoverage]
-basepython = pypy
-commands =
- pip list
- python -c "from cryptography.hazmat.backends.openssl.backend import backend; print(backend.openssl_version_text())"
- py.test --capture=no --strict {posargs}
-
[testenv:pep8]
deps =
flake8