Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
840 B

11 years ago
  1. # Set this to the same path you used in settings.py, or None for auto-detection.
  2. MUMBLE_DJANGO_ROOT = None;
  3. ### DO NOT CHANGE ANYTHING BELOW THIS LINE ###
  4. import os, sys
  5. from os.path import join, dirname, abspath, exists
  6. # Path auto-detection
  7. if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ):
  8. MUMBLE_DJANGO_ROOT = dirname(abspath(__file__))
  9. # environment variables
  10. sys.path.append( MUMBLE_DJANGO_ROOT )
  11. sys.path.append( join( MUMBLE_DJANGO_ROOT, 'pyweb' ) )
  12. # If you get an error about Python not being able to write to the Python
  13. # egg cache, the egg cache path might be set awkwardly. This should not
  14. # happen under normal circumstances, but every now and then, it does.
  15. # Uncomment this line to point the egg cache to /tmp.
  16. #os.environ['PYTHON_EGG_CACHE'] = '/tmp/pyeggs'
  17. from flaskcvp import app as application