From d5bdc5466d4898dfbd0d8c24ee69bc24c4c3f1bb Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Tue, 11 May 2010 16:34:33 +0200 Subject: [PATCH] ROOT should be over application. --- deployment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.py b/deployment.py index b156b9385..ab198801c 100644 --- a/deployment.py +++ b/deployment.py @@ -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') -- 2.20.1