X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6af842bbee5e81d3d6eecb69d61e61918e5b958b..faef1a564460905fd4c78953bf2f7023b5a94fc7:/deployment.py?ds=sidebyside diff --git a/deployment.py b/deployment.py old mode 100644 new mode 100755 index b156b9385..ab198801c --- 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')