Skip to content

Instantly share code, notes, and snippets.

@kmmbvnr
Last active June 15, 2018 11:50
Show Gist options
  • Save kmmbvnr/39c7716671b6a9e5c0a2 to your computer and use it in GitHub Desktop.
Save kmmbvnr/39c7716671b6a9e5c0a2 to your computer and use it in GitHub Desktop.
Even less painless way to launch a script without activating first its virtual environment
[tox]
envlist = py36
skipsdist = True
[testenv]
deps = django==2.0.6
commands = {posargs:./manage.py runserver}
setenv =
PYTHONPATH={toxinidir}
PATH={envdir}/bin:{env:PATH}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment