diff options
author | Alessio Sergi <al3hex@gmail.com> | 2018-02-16 18:18:18 +0100 |
---|---|---|
committer | Alessio Sergi <al3hex@gmail.com> | 2018-02-16 18:18:18 +0100 |
commit | fc7af715a2e410075afef5e61d554743576eac3f (patch) | |
tree | 7437090f51fa3c5db983b61f684db40a6827bb95 | |
parent | ca1e27ab2e3443c51e69b8c21d5781fdb303c9db (diff) |
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. See
https://packaging.python.org/tutorials/distributing-packages/#python-requires.
-rwxr-xr-x | setup.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -76,6 +76,7 @@ setup( url='https://github.com/nicolargo/glances', license='LGPLv3', keywords="cli curses monitoring system", + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", install_requires=get_install_requires(), extras_require={ 'action': ['pystache'], |