virtualenv/setup/res/res_create_env.py
author ymh <ymh.work@gmail.com>
Tue, 31 Jul 2012 17:44:44 +0200
changeset 723 6fe56c8896e3
parent 671 fc56b4c9e4f3
child 744 960e4d8d8acd
permissions -rw-r--r--
update virtualenv configuration to include elasticsearch elements. Elasticsearch itself still has to be installed independantly

import platform

from lib_create_env import lib_generate_install_methods, install_pylucene, install_psycopg2

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)