virtualenv/setup/res/res_create_env.py
author durandn
Mon, 20 Jul 2015 18:38:38 +0200
changeset 1405 1878f6371f87
parent 744 960e4d8d8acd
permissions -rw-r--r--
Added support for project copy in api/ldt/1.0/projects POST requests with a "source" parameter that has the id of the project to copy

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)