fix pip upgrade command

This commit is contained in:
zolliker 2025-05-20 11:04:46 +02:00
parent 16173769ce
commit a8cb0c28f6

View File

@ -286,7 +286,7 @@ def do_sevenv():
if not glob(f'{sevenv}/lib/python3*/site-packages/{pkg}'): if not glob(f'{sevenv}/lib/python3*/site-packages/{pkg}'):
if doit: if doit:
if upgrade: if upgrade:
do(f'{sevenv}/bin/python3 -m pip --upgrade pip') do(f'{sevenv}/bin/python3 -m pip install --upgrade pip')
upgrade = False upgrade = False
do(f'{sevenv}/bin/python3 -m pip install {pkg}') do(f'{sevenv}/bin/python3 -m pip install {pkg}')
else: else: