setup.py: restrict the allowable version of the python interpreter
I have a python library. Unfortunately I have not updated it to work with python 3 yet. in its setup.py, I added install_requires=['python<3'], My intent was to not allow this package to be installed / used under python 3, because I know it doesn't (yet) work. I don't think this is the right way to do it, because pip then tries to download and install python 2.7.3 (which is already the installed version!). How should I specify my library dependency on a particular range of python interpreter versions? Should I add a Programming Language :: Python :: 2 :: Only tag? Will this actually prevent