virtualenv/web/res/res_create_env.py
changeset 165 64aae3fee9d5
parent 113 c05567404888
equal deleted inserted replaced
164:4f77196ffde1 165:64aae3fee9d5
    28 #      'DJANGO-HAYSTACK',
    28 #      'DJANGO-HAYSTACK',
    29 #      'PYELASTICSEARCH',
    29 #      'PYELASTICSEARCH',
    30 #      'WHOOSH'    
    30 #      'WHOOSH'    
    31 ]
    31 ]
    32 
    32 
    33 if system_str == "Linux":
    33 OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip_setuptools", "use_distribute"]
    34     INSTALLS.insert(2, 'DISTRIBUTE')
       
    35 
       
    36 OPTIONS_TO_ADD = ['clear', 'type_install=local', 'unzip_setuptools']
       
    37 if system_str != 'Linux':
       
    38     OPTIONS_TO_ADD.append('use_distribute')
       
    39 
    34 
    40 def generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess):    
    35 def generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess):    
    41     return lib_generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)
    36     return lib_generate_install_methods(path_locations, src_base, run_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)