equal
deleted
inserted
replaced
98 |
98 |
99 def collectstatic(remotepath, remotevirtualenvpath): |
99 def collectstatic(remotepath, remotevirtualenvpath): |
100 print("Collect static in %s with %s" % (remotepath, remotevirtualenvpath)) |
100 print("Collect static in %s with %s" % (remotepath, remotevirtualenvpath)) |
101 activate_path = os.path.join(remotevirtualenvpath, "bin/activate") |
101 activate_path = os.path.join(remotevirtualenvpath, "bin/activate") |
102 with prefix("source \"%s\"" % activate_path), prefix("export PYTHONPATH=\"%s\"" % remotepath), cd(remotepath): |
102 with prefix("source \"%s\"" % activate_path), prefix("export PYTHONPATH=\"%s\"" % remotepath), cd(remotepath): |
103 run("python manage.py collectstatic --noinput") |
103 run("python manage.py collectstatics --noinput") |
104 |
104 |
105 |
105 |
106 |
106 |
107 def export_version(version): |
107 def export_version(version): |
108 print("export version %s" % str(version)) |
108 print("export version %s" % str(version)) |