correct virtualenv creation do not install distribute immediately
authorymh <ymh.work@gmail.com>
Thu, 14 Jun 2012 21:41:58 +0200
changeset 675 38ed996a23d8
parent 674 b223ec1f349a
child 676 1bbf2fe38a32
correct virtualenv creation do not install distribute immediately
virtualenv/web/res/res_create_env.py
--- a/virtualenv/web/res/res_create_env.py	Thu Jun 14 21:33:49 2012 +0200
+++ b/virtualenv/web/res/res_create_env.py	Thu Jun 14 21:41:58 2012 +0200
@@ -29,7 +29,9 @@
 if system_str == 'Windows':
     INSTALLS.insert(0, 'JCC')
 
-OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools', 'use_distribute']
+OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
+if system_str != 'Linux':
+    OPTIONS_TO_ADD.append('use_distribute')
 
 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)