mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
16 lines
398 B
PowerShell
16 lines
398 B
PowerShell
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
|
|
$env:NETGEN_ARCH = avx2
|
|
|
|
$pydir=$args[0]
|
|
& $pydir\python.exe --version
|
|
& $pydir\python.exe -m pip install scikit-build wheel numpy twine pybind11-stubgen
|
|
& $pydir\python setup.py bdist_wheel -G"Visual Studio 16 2019"
|
|
& $pydir\python -m twine upload dist\*.whl
|