ROOT should be over application.
authorŁukasz Rekucki <lrekucki@gmail.com>
Tue, 11 May 2010 14:34:33 +0000 (16:34 +0200)
committerŁukasz Rekucki <lrekucki@gmail.com>
Tue, 11 May 2010 14:34:33 +0000 (16:34 +0200)
deployment.py

index b156b93..ab19880 100644 (file)
@@ -31,7 +31,7 @@ def update_application():
     os.system("%s install -r %s" % (PIP, os.path.join(ROOT, 'etc', 'requirements.txt')))
     print "done."
 
-ROOT = os.path.dirname(os.path.abspath(__file__))
+ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
 PYTHON = os.path.join(ROOT, 'pythonenv', 'bin', 'python')
 PIP = os.path.join(ROOT, 'pythonenv', 'bin', 'pip')