Skip to content

Instantly share code, notes, and snippets.

@Midnighter
Created January 11, 2015 21:38
Show Gist options
  • Save Midnighter/14a75d82bbf0e15e5dd7 to your computer and use it in GitHub Desktop.
Save Midnighter/14a75d82bbf0e15e5dd7 to your computer and use it in GitHub Desktop.
use a (newer) virtualenvwrapper inside a virtualenv
#!/usr/bin/env bash
# This hook is run after every virtualenv is activated.
if [ -f "${VIRTUAL_ENV}/bin/virtualenvwrapper.sh" ]; then
source "${VIRTUAL_ENV}/bin/virtualenvwrapper.sh"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment