netgen/tests/build_pip.ps1

15 lines
357 B
PowerShell
Raw Normal View History

2021-10-27 19:50:07 +05:00
if (test-path _skbuild) {
cmd.exe /c rd /s /q _skbuild
}
if (test-path dist) {
cmd.exe /c rd /s /q dist
}
$env:NETGEN_CCACHE = 1
$pydir=$args[0]
& $pydir\python.exe --version
& $pydir\python.exe -m pip install scikit-build wheel numpy twine
& $pydir\python setup.py bdist_wheel -G"Visual Studio 16 2019"
2022-02-25 20:05:36 +05:00
& $pydir\python -m twine upload dist\*.whl