Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Heroku allows specifying the Python version in a file called runtime.txt, which is analogous to requirements.txt:

   https://devcenter.heroku.com/articles/python-runtimes
I think this works well as a convention even if you're not deploying to Heroku. I also like the suggestion to put a guard in setup.py that checks sys.version_info.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: