--- a/virtualenv/setup/res/res_create_env.py Thu Jun 14 15:03:46 2012 +0200
+++ b/virtualenv/setup/res/res_create_env.py Thu Jun 14 18:26:25 2012 +0200
@@ -1,6 +1,6 @@
import platform
-from lib_create_env import lib_generate_install_methods, install_pylucene, install_psycopg2, lib_add_options
+from lib_create_env import lib_generate_install_methods, install_pylucene, install_psycopg2
system_str = platform.system()
@@ -8,9 +8,8 @@
INSTALLS = [#(key,method, option_str, dict_extra_env)
]
-OPTIONS_TO_ADD = ['--no-site-packages','--clear', '--type-install=local', "--unzip-setuptools"]
+OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip-setuptools", "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)
+ return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)
-add_options = lambda : lib_add_options(OPTIONS_TO_ADD)
\ No newline at end of file