virtualenv/web/res/res_create_env.py
changeset 86 c87350ebcddb
parent 84 d7acd4e2c1c8
equal deleted inserted replaced
85:98040e87b7e8 86:c87350ebcddb
    42 
    42 
    43 if system_str == "Darwin":
    43 if system_str == "Darwin":
    44     INSTALLS.extend([
    44     INSTALLS.extend([
    45     ('LXML', 'easy_install', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26', 'LIBICONV_VERSION': '1.13.1'}),
    45     ('LXML', 'easy_install', None, {'STATIC_DEPS': 'true', 'LIBXML2_VERSION': '2.7.8', 'LIBXSLT_VERSION': '1.1.26', 'LIBICONV_VERSION': '1.13.1'}),
    46     ])
    46     ])
    47 elif system_str == "Windows":
    47 else:
    48     INSTALLS.extend([
    48     INSTALLS.extend([
    49     ('LXML', 'easy_install', None, None),
    49     ('LXML', 'easy_install', None, None),
    50     ])
       
    51 else:
       
    52     INSTALLS.extend([
       
    53     ('LXML', 'pip', None, None),
       
    54     ])
    50     ])
    55 
    51 
    56 
    52 
    57 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    53 def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    58     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)
    54     return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS)