Specify supported version(s) of Python in setup.py
In preparation for dropping Python 2.7 support[1], this specifies versions that *are* compatible with Python 2.7, so anyone installing via pip (if we end up publishing to PyPI) will get the proper version. See https://packaging.python.org/guides/dropping-older-python-versions/ [1] https://github.com/whipper-team/whipper/issues/78 Signed-off-by: Frederik “Freso” S. Olesen <freso.dk@gmail.com>
This commit is contained in:
1
setup.py
1
setup.py
@@ -8,6 +8,7 @@ setup(
|
|||||||
maintainer=['The Whipper Team'],
|
maintainer=['The Whipper Team'],
|
||||||
url='https://github.com/whipper-team/whipper',
|
url='https://github.com/whipper-team/whipper',
|
||||||
license='GPL3',
|
license='GPL3',
|
||||||
|
python_requires='>=2.7,<3',
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
setup_requires=['setuptools_scm'],
|
setup_requires=['setuptools_scm'],
|
||||||
entry_points={
|
entry_points={
|
||||||
|
|||||||
Reference in New Issue
Block a user