From: Ɓukasz Rekucki Date: Tue, 11 May 2010 14:34:33 +0000 (+0200) Subject: ROOT should be over application. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/d5bdc5466d4898dfbd0d8c24ee69bc24c4c3f1bb?ds=sidebyside;hp=-c ROOT should be over application. --- d5bdc5466d4898dfbd0d8c24ee69bc24c4c3f1bb 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')