I have a Python library. Unfortunately I have not updated it to work with Python 3 yet.
In its setup.py, I added
setup.py
install_requires=[\'pytho
As of version 9.0.1 pip will honor a new python_requires string, specifying the python version required for installation, eg:
python_requires
setup( ..., python_requires=">=3.3" )
See here for more details. See also this answer on SO.