diff -r 9e64be35704f -r b52724db32ab virtualenv/setup/res/res_create_env.py --- a/virtualenv/setup/res/res_create_env.py Thu Jun 14 10:18:38 2012 +0200 +++ b/virtualenv/setup/res/res_create_env.py Thu Jun 14 15:01:50 2012 +0200 @@ -1,13 +1,16 @@ import platform -from lib_create_env import lib_generate_install_methods, install_pylucene, install_psycopg2 +from lib_create_env import lib_generate_install_methods, install_pylucene, install_psycopg2, lib_add_options system_str = platform.system() INSTALLS = [#(key,method, option_str, dict_extra_env) - ('DISTRIBUTE', 'pip', None, None), ] +OPTIONS_TO_ADD = ['--no-site-packages','--clear', '--type-install=local', "--unzip-setuptools"] + def generate_install_methods(path_locations, src_base, Logger, call_subprocess): return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS) + +add_options = lambda : lib_add_options(OPTIONS_TO_ADD) \ No newline at end of file