Commit cff3a482 authored by Jason R. Coombs's avatar Jason R. Coombs

Use a local path rather than a tempdir that never gets cleaned up.

parent fcdbdc6f
......@@ -13,7 +13,6 @@ import json
import os
import shutil
import tarfile
import tempfile
import codecs
import urllib.request
import urllib.parse
......@@ -33,7 +32,8 @@ class SetuptoolsOldReleasesWithoutZip:
"""docstring for SetuptoolsOldReleases"""
def __init__(self):
self.dirpath = tempfile.mkdtemp(prefix=DISTRIBUTION)
self.dirpath = './dist'
os.makedirs(self.dirpath, exist_ok=True)
print("Downloading %s releases..." % DISTRIBUTION)
print("All releases will be downloaded to %s" % self.dirpath)
self.data_json_setuptools = self.get_json_data(DISTRIBUTION)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment