setup.cfg allows fine-grained control of which Python versions are supported.
We assume that
setup.py is like:
from setuptools import setup; setup()
and then the minimum Python version in
[options] python_requires = >= 3.6
How to install local / development
Install development packages (those that you don’t want a fixed static copy of) by:
python -m pip install -e .
pip install -e .
That is, in general one should install packages (locally, from GitHub, or from PyPi etc.) via
pip install and NOT by invoking
- Python version specification reference e.g. range of versions or specific list of version(s)