-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatmosphere.wsgi
executable file
·29 lines (23 loc) · 964 Bytes
/
atmosphere.wsgi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#
# The contents of this file are subject to the terms listed in the LICENSE file you received with this code.
#
# Author: Seung-jin Kim
# Contact: seungjin@email.arizona.edu
# Twitter: @seungjin
#
import os
import sys
import site
# One directory above the project, so project name will be needed for imports
#root_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
# with mod_wsgi >= 2.4, this line will add this path in front of the python path
#site.addsitedir(os.path.join(root_dir, 'lib/python2.5/site-packages'))
site.addsitedir('/usr/local/lib/python2.5/site-packages')
# add this django project
#sys.path.append(root_dir)
sys.path.append('/home/atmosphere_dev/')
#sys.path.append('/home/atmosphere_preview_101020/atmosphere')
sys.path.append('/usr/local/lib/python2.5/site-packages')
os.environ['DJANGO_SETTINGS_MODULE'] = 'atmosphere.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()