virtualenv/web/res/res_create_env.py
changeset 675 38ed996a23d8
parent 671 fc56b4c9e4f3
child 677 fe9cfbb91909
--- 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)