move files for new virtualenv setup
This commit is contained in:
parent
2b957c7495
commit
e38385fcd8
33 changed files with 28 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ import site
|
|||
|
||||
project_module = 'oxdata'
|
||||
|
||||
root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')))
|
||||
root_dir = os.path.normpath(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
|
||||
|
||||
#using virtualenv's activate_this.py to reorder sys.path
|
||||
activate_this = os.path.join(root_dir, 'env', 'bin', 'activate_this.py')
|
||||
|
|
@ -15,7 +15,7 @@ sys.path.append(root_dir)
|
|||
sys.path.append(os.path.join(root_dir, project_module))
|
||||
|
||||
#reload if this django.wsgi gets touched
|
||||
import monitor
|
||||
from utils import monitor
|
||||
monitor.start(interval=1.0)
|
||||
|
||||
monitor.track(os.path.abspath(os.path.dirname(__file__)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue