virtualenv/sync/res/res_create_env.py
author veltr
Fri, 04 Jan 2013 18:13:55 +0100
changeset 66 331e70527d74
parent 6 9e29d68d48f1
permissions -rwxr-xr-x
Set version to 1.13

import platform

from lib_create_env import lib_generate_install_methods

system_str = platform.system()

INSTALLS = [#(key,method, option_str, dict_extra_env)
    'PYCRYPTO',
    'SSH',
    'FABRIC',
    'MERCURIAL',
]

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)