(zippath: str, installpath: str, clean: bool)
| 77 | |
| 78 | |
| 79 | def install_zip(zippath: str, installpath: str, clean: bool): |
| 80 | with zipfile.ZipFile(zippath, 'r') as zip_ref: |
| 81 | zip_ref.extractall(installpath) |
| 82 | if clean: |
| 83 | os.unlink(zippath) |
| 84 | |
| 85 | |
| 86 | def download_and_install( |
no outgoing calls
no test coverage detected