* Remove the archive after download, to save disk space

This commit is contained in:
Matthew Honnibal 2015-11-03 18:54:05 +11:00
parent 833eb35c57
commit ffedff9e6c
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ def install_data(url, extract_path, download_path):
assert tmp == download_path
t = tarfile.open(download_path)
t.extractall(extract_path)
os.unlink(download_path)
@plac.annotations(