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