python-jwt/SOURCES/disable-coverage-and-runner.patch

26 lines
715 B
Diff
Raw Permalink Normal View History

2019-08-01 20:33:08 +00:00
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,