Merge pull request #2928 from nicoddemus/python-requires

Prevent pip from installing pytest in unsupported Python versions
This commit is contained in:
Florian Bruhin
2017-11-15 09:46:04 +01:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ def main():
cmdclass={'test': PyTest},
# the following should be enabled for release
setup_requires=['setuptools-scm'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
install_requires=install_requires,
extras_require=extras_require,
packages=['_pytest', '_pytest.assertion', '_pytest._code'],