equal
deleted
inserted
replaced
1 import platform |
1 import platform |
2 |
2 |
3 from lib_create_env import lib_generate_install_methods, lib_add_options |
3 from lib_create_env import lib_generate_install_methods |
4 |
4 |
5 system_str = platform.system() |
5 system_str = platform.system() |
6 |
6 |
7 INSTALLS = [#(key,method, option_str, dict_extra_env) |
7 INSTALLS = [#(key,method, option_str, dict_extra_env) |
8 'PYCRYPTO', |
8 'PYCRYPTO', |
9 'SSH', |
9 'SSH', |
10 'FABRIC', |
10 'FABRIC', |
11 'MERCURIAL', |
11 'MERCURIAL', |
12 ] |
12 ] |
13 |
13 |
14 OPTIONS_TO_ADD = ['--no-site-packages','--clear', '--type-install=local', "--unzip-setuptools"] |
14 OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip_setuptools", "use_distribute"] |
15 |
15 |
16 def generate_install_methods(path_locations, src_base, Logger, call_subprocess): |
16 def generate_install_methods(path_locations, src_base, Logger, call_subprocess): |
17 return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS) |
17 return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD) |
18 |
18 |
19 add_options = lambda : lib_add_options(OPTIONS_TO_ADD) |
|