# HG changeset patch # User ymh # Date 1339702918 -7200 # Node ID 38ed996a23d8e2ad9e3aa51b9bd2de7d2fd16c2d # Parent b223ec1f349ae82c27fac85b7e4f90e1cf167a14 correct virtualenv creation do not install distribute immediately diff -r b223ec1f349a -r 38ed996a23d8 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)