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
|
2022-09-20 21:24:31 +05:00
|
|
|
$env:NETGEN_ARCH = 'avx2'
|
2021-10-27 19:50:07 +05:00
|
|
|
|
|
|
|
$pydir=$args[0]
|
|
|
|
& $pydir\python.exe --version
|
2022-08-08 12:35:45 +05:00
|
|
|
& $pydir\python.exe -m pip install scikit-build wheel numpy twine pybind11-stubgen
|
2024-06-14 13:50:42 +05:00
|
|
|
& $pydir\python.exe -m pip install --upgrade netgen-occt==7.8.1 netgen-occt-devel==7.8.1
|
2021-10-27 19:50:07 +05:00
|
|
|
& $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
|