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
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)