virtualenv/sync/res/res_create_env.py
changeset 105 665f520f23ae
parent 98 b94866be0f53
parent 104 daeaf1444182
child 106 782776433a2d
equal deleted inserted replaced
98:b94866be0f53 105:665f520f23ae
     1 import platform
       
     2 
       
     3 from lib_create_env import lib_generate_install_methods
       
     4 
       
     5 system_str = platform.system()
       
     6 
       
     7 INSTALLS = [#(key,method, option_str, dict_extra_env)
       
     8     'PYCRYPTO',
       
     9     'PARAMIKO',
       
    10     'FABRIC',
       
    11     'MERCURIAL',
       
    12 ]
       
    13 
       
    14 OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip_setuptools", "use_distribute"]
       
    15 
       
    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, OPTIONS_TO_ADD)
       
    18