From ffedff9e6c544b4becb455e3b483bed0fea32ff6 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 3 Nov 2015 18:54:05 +1100 Subject: [PATCH] * Remove the archive after download, to save disk space --- spacy/en/download.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spacy/en/download.py b/spacy/en/download.py index 748e0542d..1cc029c09 100644 --- a/spacy/en/download.py +++ b/spacy/en/download.py @@ -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(