Beispiel #1
0
def build_python():
    """
    Builds required pythons
    """

    cfg = bungeni.BungeniConfigs()
    pys = cfg.used_pythons()
    for py in pys:
        py_flat_name = py.replace(".", "")
        # call the appropriate build_python26, build_python27 function
        globals()["build_python" + py_flat_name]()
Beispiel #2
0
def build_python():
    """
    Builds required pythons
    """

    cfg = bungeni.BungeniConfigs()
    pys = []
    pys.append(cfg.cfg.get_config("bungeni", "python"))
    pys.append(cfg.cfg.get_config("portal", "python"))
    pys.append(cfg.cfg.get_config("plone", "python"))
    pys.append(cfg.cfg.get_config("supervisor", "python"))
    used_pys = set(pys)
    if "2.4" in used_pys:
        print "building python 2.4"
        build_python24()
    if "2.5" in used_pys:
        print "building python 2.5"
        build_python25()
    if "2.6" in used_pys:
        print "building python 2.6"
        build_python26()
Beispiel #3
0
def exist_java_home():
    """
    Prints out the install location of the Java used by eXist
    """
    cfgs = bungeni.BungeniConfigs()
    print cfgs.java_home
Beispiel #4
0
def exist_java_home():
    cfgs = bungeni.BungeniConfigs()
    print cfgs.java_home