Created
February 17, 2011 04:26
-
-
Save kmmbvnr/830976 to your computer and use it in GitHub Desktop.
Clean and simple ve setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
try: | |
from ve_setup import use_virtualenv | |
except ImportError: | |
import urllib | |
urllib.urlretrieve("http://tiny.cc/ve-setup", 've_setup.py') | |
from ve_setup import use_virtualenv | |
use_virtualenv(['--distribute', "python"], requirements="requirements.pip", activate=True) | |
# application code | |
from django.core.management import execute_manager |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment