fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f8090
)
ROOT should be over application.
author
Łukasz Rekucki
<lrekucki@gmail.com>
Tue, 11 May 2010 14:34:33 +0000
(16:34 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Tue, 11 May 2010 14:34:33 +0000
(16:34 +0200)
deployment.py
patch
|
blob
|
history
diff --git
a/deployment.py
b/deployment.py
index
b156b93
..
ab19880
100644
(file)
--- 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')