Пример #1
0
Файл: scons.py Проект: 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
Пример #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)