Skip to content

Instantly share code, notes, and snippets.

@lattejed
Created October 4, 2010 17:32
Show Gist options
  • Save lattejed/610111 to your computer and use it in GitHub Desktop.
Save lattejed/610111 to your computer and use it in GitHub Desktop.
# Set up our path similar to dev_appserver.py
EXTRA_PATHS = [
DIR_PATH,
os.path.join(DIR_PATH, 'lib', 'antlr3'),
os.path.join(DIR_PATH, 'lib', 'django'),
os.path.join(DIR_PATH, 'lib', 'ipaddr'),
os.path.join(DIR_PATH, 'lib', 'webob'),
os.path.join(DIR_PATH, 'lib', 'yaml', 'lib'),
os.path.join(os.path.dirname(__file__)),
]
sys.path = EXTRA_PATHS + sys.path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment