correct venv script again V00.11
authorymh <ymh.work@gmail.com>
Fri, 25 May 2012 13:23:21 +0200
changeset 31 024d0245fdba
parent 30 577785970de2
child 32 a5df7c8da65c
correct venv script again
virtualenv/res/lib/lib_create_env.py
--- a/virtualenv/res/lib/lib_create_env.py	Fri May 25 13:04:33 2012 +0200
+++ b/virtualenv/res/lib/lib_create_env.py	Fri May 25 13:23:21 2012 +0200
@@ -233,9 +233,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', 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', 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,