Remove input call from pip_download.py.
This commit is contained in:
parent
5669c33f1c
commit
02a79f86b3
1 changed files with 0 additions and 1 deletions
|
@ -19,7 +19,6 @@ def clean_version(version):
|
||||||
def pip_download(package):
|
def pip_download(package):
|
||||||
tmpdir = tempfile.TemporaryDirectory(prefix=f'pip_download-{package}')
|
tmpdir = tempfile.TemporaryDirectory(prefix=f'pip_download-{package}')
|
||||||
subprocess.call([sys.executable, '-m', 'pip', 'download', package, '-d', tmpdir.name])
|
subprocess.call([sys.executable, '-m', 'pip', 'download', package, '-d', tmpdir.name])
|
||||||
input()
|
|
||||||
downloaded_files = os.listdir(tmpdir.name)
|
downloaded_files = os.listdir(tmpdir.name)
|
||||||
for filename in downloaded_files:
|
for filename in downloaded_files:
|
||||||
parts = filename.split('-')
|
parts = filename.split('-')
|
||||||
|
|
Loading…
Reference in a new issue