virtualenv/sync/res/res_create_env.py
changeset 0 87104b7cb3d6
child 2 fb621e89f9f1
equal deleted inserted replaced
-1:000000000000 0:87104b7cb3d6
       
     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     'SSH',
       
    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