Install requests before building pip package

This commit is contained in:
Matthias Hochsteger 2024-09-19 16:19:33 +02:00
parent e279140a4d
commit 449179bcec
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ $env:NETGEN_ARCH = 'avx2'
$pydir=$args[0] $pydir=$args[0]
& $pydir\python.exe --version & $pydir\python.exe --version
& $pydir\python.exe -m pip install packaging & $pydir\python.exe -m pip install packaging requests
& $pydir\python.exe tests\utils.py --check-pip & $pydir\python.exe tests\utils.py --check-pip
if ($LASTEXITCODE -ne 0) { if ($LASTEXITCODE -ne 0) {
exit 0 exit 0

View File

@ -7,7 +7,7 @@ export PATH=$PYDIR:/Applications/CMake.app/Contents/bin:$PATH
export NETGEN_CCACHE=1 export NETGEN_CCACHE=1
$PYDIR/python3 --version $PYDIR/python3 --version
$PYDIR/python3 -m pip install packaging $PYDIR/python3 -m pip install packaging requests
$PYDIR/python3 tests/utils.py --check-pip || exit 0 $PYDIR/python3 tests/utils.py --check-pip || exit 0
$PYDIR/python3 -m pip install --user numpy twine scikit-build wheel pybind11-stubgen $PYDIR/python3 -m pip install --user numpy twine scikit-build wheel pybind11-stubgen
$PYDIR/python3 -m pip install --user -U netgen-occt==7.8.1 netgen-occt-devel==7.8.1 $PYDIR/python3 -m pip install --user -U netgen-occt==7.8.1 netgen-occt-devel==7.8.1