Move pytest-runner back to setup_requires
pytest-runner needs to be defined in setup_requires,
because as it is a setuptools plugin, it must be
installed and available very early, and setup_requires
is the only place where that happens.
See
@@ -132,6 +132,7 @@ setup(
setup_requires=[
'setuptools_scm',
'pkgconfig',
+ 'pytest-runner',
],
install_requires=[
'deprecation',
@@ -149,7 +150,6 @@ setup(
],
tests_require=[
'pytest',
- 'pytest-runner',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
