Skip to content

Instantly share code, notes, and snippets.

@Relrin
Created December 7, 2014 15:06
Show Gist options
  • Save Relrin/93b4c352e1b844a86b68 to your computer and use it in GitHub Desktop.
Save Relrin/93b4c352e1b844a86b68 to your computer and use it in GitHub Desktop.
Script for running wxPython applications from virtualenv
ENV=`python -c "import sys; print sys.prefix"`
PYTHON=`python -c "import sys; print sys.real_prefix"`/bin/python
export PYTHONHOME=$ENV
exec $PYTHON "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment