Advertisement
Guest User

Untitled

a guest
Feb 21st, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. " VIRTUALENV setup
  2. :python3 << EOF
  3. import os
  4. virtualenv = os.environ.get('VIRTUAL_ENV')
  5. if virtualenv:
  6. activate_this = os.path.join(virtualenv, 'bin', 'activate_this.py')
  7. if os.path.exists(activate_this):
  8. exec(compile(open(activate_this).read(), activate_this, 'exec'), {'__file__': activate_this})
  9. EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement