virtualenv/setup/res/res_create_env.py
author verrierj
Fri, 06 Jan 2012 17:46:23 +0100
changeset 340 5f919a978f50
parent 50 0d59e0522d36
child 615 006f1e3e5398
permissions -rw-r--r--
Stats for annotations volume can be computed using ./manage.py statannotation [-c content_id] or in the admin pages of module ldt_utils.

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)
    ('DISTRIBUTE', 'pip', None, None),
    ('MERCURIAL', 'pip', None, None),
    ('SETUPTOOLS-HG', 'pip', None, None), 
]

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