Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
grosskur
on April 18, 2013
|
parent
|
context
|
favorite
| on:
A non-magical introduction to pip and virtualenv f...
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: