use pip-licenses release

This commit is contained in:
Adam Velebil 2022-11-07 07:23:43 +01:00
parent 55f49fed8f
commit 548ce54e25
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ rmdir /s /q ..\build\windows\helper-license-venv
poetry build poetry build
poetry run python -m venv ..\build\windows\helper-license-venv poetry run python -m venv ..\build\windows\helper-license-venv
..\build\windows\helper-license-venv\Scripts\python -m pip install --upgrade pip wheel ..\build\windows\helper-license-venv\Scripts\python -m pip install --upgrade pip wheel
..\build\windows\helper-license-venv\Scripts\python -m pip install dist\authenticator_helper-0.1.0-py3-none-any.whl 'pip-licenses=4.0.0rc2' ..\build\windows\helper-license-venv\Scripts\python -m pip install dist\authenticator_helper-0.1.0-py3-none-any.whl pip-licenses
..\build\windows\helper-license-venv\Scripts\pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ..\assets\licenses\helper.json ..\build\windows\helper-license-venv\Scripts\pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ..\assets\licenses\helper.json
cd .. cd ..

View File

@ -40,7 +40,7 @@ VENV="../$OUTPUT/helper-license-venv"
rm -rf $VENV rm -rf $VENV
poetry run python -m venv $VENV poetry run python -m venv $VENV
$VENV/bin/pip install --upgrade pip wheel $VENV/bin/pip install --upgrade pip wheel
$VENV/bin/pip install dist/authenticator_helper-0.1.0-py3-none-any.whl 'pip-licenses==4.0.0rc2' $VENV/bin/pip install dist/authenticator_helper-0.1.0-py3-none-any.whl pip-licenses
$VENV/bin/pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ../assets/licenses/helper.json $VENV/bin/pip-licenses --format=json --no-license-path --with-license-file --ignore-packages authenticator-helper zxing-cpp --output-file ../assets/licenses/helper.json
cd .. cd ..