Hacker News new | ask | show | jobs
by falsedan 2886 days ago
> 1) Somebody creates script that activates and runs django and commits it.

You can call the python bin inside the virtualenv and it will run as if the virtualenv was active:

  venv/bin/python -m foo.bar
Obviously it doesn't work if devs used different names for their virtualenvs. Work has a convention to always use the same name so this works pretty well.