diff options
| author | Ralf Gommers <ralf.gommers@gmail.com> | 2017-04-16 09:29:55 +1200 |
|---|---|---|
| committer | Ralf Gommers <ralf.gommers@gmail.com> | 2017-04-16 09:29:55 +1200 |
| commit | 343de6f2193204d686f1e16953797d1c0f4b62bc (patch) | |
| tree | 38e8a78642b7210e93568d46cc2808e08f0af6ce /setup.py | |
| parent | 6c91e9ee0d9e9fc16e504780ccf7ede26d1114c8 (diff) | |
| download | numpy-343de6f2193204d686f1e16953797d1c0f4b62bc.tar.gz | |
REL: add `python_requires` to setup.py
This allows pip to figure out the last compatible version
with a particular Python version before attempting to
install.
Support for this field was added to setuptools last year:
https://github.com/pypa/setuptools/pull/631
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -357,6 +357,7 @@ def setup_package(): platforms = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"], test_suite='nose.collector', cmdclass={"sdist": sdist_checked}, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', ) if "--force" in sys.argv: |
