We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca812b8 commit a17751aCopy full SHA for a17751a
direct/src/showutil/dist.py
@@ -312,6 +312,13 @@ def download_wheels(self, platform):
312
if int(pip_version[0]) < 9:
313
raise RuntimeError("pip 9.0 or greater is required, but found {}".format(pip.__version__))
314
315
+ # Remove any .zip files. These are built from a VCS and block for an
316
+ # interactive prompt on subsequent downloads.
317
+ if os.path.exists(whldir):
318
+ for whl in os.listdir(whldir):
319
+ if whl.endswith('.zip'):
320
+ os.remove(os.path.join(whldir, whl))
321
+
322
pip_args = [
323
'download',
324
'-d', whldir,
0 commit comments