Advertisement
CristianCantoro

wtosm_wsgi

Dec 27th, 2013
334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. #!/usr/env/python
  2. import os
  3. import sys
  4.  
  5. # activate virtualenv
  6. activate_this = os.path.expanduser("/home/cristian/.virtualenvs/wtosm/bin/activate_this.py")
  7. execfile(activate_this, dict(__file__=activate_this))
  8.  
  9. # Change working directory so relative paths (and template lookup) work again
  10. basedir = os.path.dirname('/home/cristian/Documenti/Lavoro/FBK/wtosm/dev/wikipedia-tags-in-osm/app/')
  11. sys.path.append(basedir)
  12. os.chdir(basedir)
  13.  
  14. #from wiki import app
  15. from demo import app
  16. application = app
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement