-
Notifications
You must be signed in to change notification settings - Fork 118
Closed
Description
Hello!
I noticed such a declaration in setup.py
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
...
]
and the dependency "pylint-plugin-utils>=0.7" has a declaration "requires_python": ">=3.6.2",
so I guess you want to set python>3.6.2. And I think it is a better way to declare Python compatibility by using the keyword argument python_requires than argument classifiers for some reasons:
- Descriptions in python_requires will be reflected in the metadata
- “pip install” can check such metadata on the fly during distribution selection , and prevent from downloading and installing the incompatible package versions.
- If the user does not specify any version constraint, pip can automatically choose the latest compatible package version for users.
Way to improve:
modify setup() in setup.py, add python_requires keyword argument:
setup(…
python_requires=">=3.6.2",
…)
Thanks for your attention.
Best regrads,
PyVCEchecker
sergei-lobanov
Metadata
Metadata
Assignees
Labels
No labels