26 lines
715 B
Diff
26 lines
715 B
Diff
diff -Nurp pyjwt-1.6.1.orig/setup.py pyjwt-1.6.1/setup.py
|
|
--- pyjwt-1.6.1.orig/setup.py 2018-03-18 08:37:23.000000000 -0500
|
|
+++ pyjwt-1.6.1/setup.py 2018-04-04 23:46:56.178058061 -0500
|
|
@@ -34,13 +34,8 @@ if sys.argv[-1] == 'publish':
|
|
|
|
tests_require = [
|
|
'pytest >3,<4',
|
|
- 'pytest-cov',
|
|
- 'pytest-runner',
|
|
]
|
|
|
|
-needs_pytest = set(('pytest', 'test', 'ptr')).intersection(sys.argv)
|
|
-pytest_runner = ['pytest-runner'] if needs_pytest else []
|
|
-
|
|
setup(
|
|
name='PyJWT',
|
|
version=version,
|
|
@@ -67,7 +62,6 @@ setup(
|
|
'Topic :: Utilities',
|
|
],
|
|
test_suite='tests',
|
|
- setup_requires=pytest_runner,
|
|
tests_require=tests_require,
|
|
extras_require=dict(
|
|
test=tests_require,
|