mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
deploy-ng: Avoid interactive prompt on packages fetched via a VCS
This commit is contained in:
parent
ca812b890c
commit
a17751adcf
@ -312,6 +312,13 @@ class build_apps(setuptools.Command):
|
|||||||
if int(pip_version[0]) < 9:
|
if int(pip_version[0]) < 9:
|
||||||
raise RuntimeError("pip 9.0 or greater is required, but found {}".format(pip.__version__))
|
raise RuntimeError("pip 9.0 or greater is required, but found {}".format(pip.__version__))
|
||||||
|
|
||||||
|
# Remove any .zip files. These are built from a VCS and block for an
|
||||||
|
# interactive prompt on subsequent downloads.
|
||||||
|
if os.path.exists(whldir):
|
||||||
|
for whl in os.listdir(whldir):
|
||||||
|
if whl.endswith('.zip'):
|
||||||
|
os.remove(os.path.join(whldir, whl))
|
||||||
|
|
||||||
pip_args = [
|
pip_args = [
|
||||||
'download',
|
'download',
|
||||||
'-d', whldir,
|
'-d', whldir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user