Skip to content

Commit 92737fa

Browse files
committed
Add python_requires corresponding to listed Python versions in setup.py
Add versioning for setuptools to support inclusiong of python_requires argument. Note: This will require pip versions >=9.0.0 for support.
1 parent 117070c commit 92737fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,15 @@ def package_vars(version_file):
6262
"Programming Language :: Python :: 3.6",
6363
"Programming Language :: Python :: 3.7",
6464
],
65+
python_requires=">=3.6",
6566
# What does your project relate to?
6667
keywords="skeleton",
6768
packages=find_packages(where="src"),
6869
package_dir={"": "src"},
6970
package_data={"example": ["data/*.txt"]},
7071
py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
7172
include_package_data=True,
72-
install_requires=["docopt", "setuptools"],
73+
install_requires=["docopt", "setuptools >= 24.2.0"],
7374
extras_require={
7475
"test": [
7576
"pre-commit",

0 commit comments

Comments
 (0)