3 ms·
> How do I make sure the right python version gets captured if I don't check in the /env/ folder? Document it in setup.py: if sys.version_info < (2, 6, 0)
by hcarvalhoalves 14y ago
> How do I make sure the right python version gets captured if I don't check in the /env/ folder?
Document it in setup.py:
if sys.version_info < (2, 6, 0):
sys.stderr.write("Foo requires Python 2.6 or newer.\n")
sys.exit(1)
You're using setup.py, right? ;)