Skip to content

Commit 50b5932

Browse files
andy-maierMrMino
andauthored
Added pip-compatible metadata for supported Python versions (#78)
* Added pip-compatible metadata for supported Python versions Details: * This change adds the 'python_requires' argument to 'setup()' in order to generate the metadata that allows Pip to determine the supported Python versions. Signed-off-by: Andreas Maier <[email protected]> * Set python_requires to >=3.6.1 Originally, the PR specified >=3.0. This was inaccurate. If we are starting to be explicit about the supported version, it has to be correct for all cases. Co-authored-by: Blazej Michalik <[email protected]>
1 parent e1dad6b commit 50b5932

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ def _get_dependencies(requirements_file: Path) -> List[str]:
5252
'License :: OSI Approved :: MIT License',
5353
'Programming Language :: Python :: 3',
5454
],
55+
python_requires=">=3.6.1",
5556
packages=['pip_check_reqs'],
5657
entry_points={
5758
'console_scripts': [

0 commit comments

Comments
 (0)