(work_path, package, bandwidth_limit)
| 337 | |
| 338 | |
| 339 | def download_package(work_path, package, bandwidth_limit): |
| 340 | print('Download package ' + package) |
| 341 | destfile = os.path.join(work_path, 'temp.tgz') |
| 342 | if not __wget(package, destfile, bandwidth_limit): |
| 343 | return None |
| 344 | return destfile |
| 345 | |
| 346 | |
| 347 | def unpack_package(work_path, tgz, cpp_only=False, c_only=False, skip_files=None): |