X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f938afb8ab4cb091d12e0ef0311eaea14b774798..3cff6e4a3f7e7acceacbc621f9196204b508121e:/deployment.py diff --git a/deployment.py b/deployment.py index bdfbb43a..041b58cc 100644 --- a/deployment.py +++ b/deployment.py @@ -1,4 +1,4 @@ -#!/srv/internal/cas/pythonenv/bin/python +#!/srv/library/redakcja/pythonenv/bin/python from __future__ import with_statement import shutil @@ -29,7 +29,7 @@ def update_application(): os.system("pip install -r %s" % 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') PYTHON_SITE = os.path.join(ROOT, 'pythonenv', 'lib', 'python2.6', 'site-packages')