mirror of https://github.com/explosion/spaCy.git
* Remove the archive after download, to save disk space
This commit is contained in:
parent
833eb35c57
commit
ffedff9e6c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue