virtualenv/setup/res/res_create_env.py
author cavaliet
Tue, 04 Dec 2012 13:56:29 +0100
changeset 1014 4e3edc45a890
parent 744 960e4d8d8acd
permissions -rw-r--r--
Merge with 09d29a596d4959bfa4dcc4918c189ae251bcfec4

import platform

from lib_create_env import lib_generate_install_methods

system_str = platform.system()


INSTALLS = [#(key,method, option_str, dict_extra_env)
]

OPTIONS_TO_ADD = ['clear', 'type_install=local', "unzip-setuptools", "use_distribute"]

def generate_install_methods(path_locations, src_base, Logger, call_subprocess):    
    return lib_generate_install_methods(path_locations, src_base, Logger, call_subprocess, INSTALLS, OPTIONS_TO_ADD)