X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/c3477585380d327f5a2029201721151d25f5b2b5..2e1d485a0f3ca0949bea0c922e3b095b3d8d4d95:/deployment.py?ds=inline 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')