pip no longnger accept -E option
authorymh <ymh.work@gmail.com>
Tue, 21 Feb 2012 13:19:19 +0100
changeset 29 9e1a250c7235
parent 28 41087fe3db69
child 30 80040858c006
pip no longnger accept -E option
sbin/sync/sync_server
server/virtualenv/res/lib/lib_create_env.py
--- a/sbin/sync/sync_server	Tue Feb 21 12:58:52 2012 +0100
+++ b/sbin/sync/sync_server	Tue Feb 21 13:19:19 2012 +0100
@@ -7,7 +7,7 @@
 hg archive -r $1 ~/tmp/bubbletv_$1 -X ".hg*"
 
 if [ -d ~/tmp/bubbletv_$1 ]; then
-    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/bubbletv_$1/server/web iri@ftv.iri-research.org:/srv/wsgi/bubbletv
+    cat <<EOT | rsync -Cvrlz --delete --filter=". -" ~/tmp/bubbletv_$1/server/web/ iri@ftv.iri-research.org:/srv/wsgi/bubbletv
 + core
 EOT
 fi
--- a/server/virtualenv/res/lib/lib_create_env.py	Tue Feb 21 12:58:52 2012 +0100
+++ b/server/virtualenv/res/lib/lib_create_env.py	Tue Feb 21 13:19:19 2012 +0100
@@ -219,9 +219,9 @@
         logger.notify("Install %s from %s with %s" % (key,res_env.URLS[key][res_source_key],method))
         if method == 'pip':
             if sys.platform == 'win32':
-                args = [os.path.abspath(os.path.join(home_dir, 'Scripts', 'pip')), 'install', '-E', os.path.abspath(home_dir), res_env.URLS[key][res_source_key]]
+                args = [os.path.abspath(os.path.join(home_dir, 'Scripts', 'pip')), 'install', res_env.URLS[key][res_source_key]]
             else:
-                args = [os.path.abspath(os.path.join(home_dir, 'bin', 'pip')), 'install', '-E', os.path.abspath(home_dir), res_env.URLS[key][res_source_key]]
+                args = [os.path.abspath(os.path.join(home_dir, 'bin', 'pip')), 'install', res_env.URLS[key][res_source_key]]
             if option_str :
                 args.insert(4,option_str)
             call_subprocess(args,