# HG changeset patch # User ymh # Date 1440198261 -7200 # Node ID 19d1e055ff4e9a9ed2471fe86c199b7daa393883 # Parent 2b492e3056c186904b6a995c1c0cdeb786579039 remove cache use for pip diff -r 2b492e3056c1 -r 19d1e055ff4e src/fablib/core.py --- a/src/fablib/core.py Fri May 15 01:31:02 2015 +0200 +++ b/src/fablib/core.py Sat Aug 22 01:04:21 2015 +0200 @@ -210,7 +210,7 @@ if module_to_uninstall: with settings(warn_only=True): run("pip uninstall -y %s" % module_to_uninstall) - run("pip install \"%s\"" % remotepath) + run("pip install --no-cache-dir \"%s\"" % remotepath) def collectstatic(remotepath, remotevirtualenvpath, platform_web_module, module_settings=""): print("Collect static in %s with %s" % (remotepath, remotevirtualenvpath)) @@ -285,7 +285,7 @@ run("python create_python_env.py") 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")) + run("pip install --no-cache-dir -r \"%s\"" % os.path.join(remote_venv_export_path,"virtualenv","web","res","srvr_requirements.txt")) def do_sync_comp(key, export_path): print("do_sync_comp with path %s" % (export_path))