Require minimum Python version in setup.py

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 setup.cfg:

[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:

pip install -e .

or

pip install -e .

Notes

Minimal setup.py and setup.cfg