virtualenv/sync/res/res_create_env.py
author grandjoncl
Mon, 12 Nov 2012 16:17:22 +0100
changeset 931 cc5442349bdd
parent 671 fc56b4c9e4f3
permissions -rw-r--r--
Merge with e107b22256805bd992817fc0161f0611235eff51

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)