Esempio n. 1
0
File: scons.py Progetto: rogual/po
def do_install(package):
    path = simple.download_and_extract(url, package)
    ret = subprocess.call(
        'python setup.py install --prefix=%s' % path,
        shell=True,
        cwd=path
    )
    if ret:
        raise Exception
Esempio n. 2
0
def do_install(package):
    path = simple.download_and_extract(url, package)
    mpath = join(path, 'usr', 'local', 'wbin', 'patch.exe.manifest')
    with open(mpath, 'wt') as file:
        file.write(manifest)