sbin/sync/fabfile.py
changeset 677 fe9cfbb91909
parent 668 b52724db32ab
child 686 ad47b20c737f
--- a/sbin/sync/fabfile.py	Thu Jun 14 21:42:20 2012 +0200
+++ b/sbin/sync/fabfile.py	Thu Jun 14 22:32:13 2012 +0200
@@ -153,10 +153,12 @@
         prefix_str = "source \"%s\"" % os.path.join(env.remote_baseline_venv, "bin/activate")
     else:
         prefix_str = "echo"
+    with settings(warn_only=True):
+        run("rm -fr \"%s\"" % remotevirtualenvpath)
     run("mkdir -p \"%s\"" % remotevirtualenvpath)
     with prefix(prefix_str), cd(os.path.join(remote_venv_export_path,"virtualenv","web")):
         run("python create_python_env.py")
-        run("python project-boot.py --unzip-setuptools --no-site-packages --clear --type-install=local \"%s\"" % remotevirtualenvpath)
+        run("python project-boot.py \"%s\"" % remotevirtualenvpath)
     with prefix("source \"%s\"" % activate_path):
         run("pip install -r \"%s\"" % os.path.join(remote_venv_export_path,"virtualenv","web","res","srvr_requirements.txt"))