aboutsummaryrefslogtreecommitdiff
path: root/build.bat
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-03-01 18:07:44 +0000
committerSebastiano Tronto <sebastiano@tronto.net>2026-03-01 18:07:44 +0000
commitff0a9418672fbec935d9b58f81ad9ea719114177 (patch)
tree2c009a3ad206842b07b1cd758b8192e2154231e9 /build.bat
parentaf443edca17649a6f2e66707746f482caefe3d1a (diff)
downloadnissy-core-ff0a9418672fbec935d9b58f81ad9ea719114177.tar.gz
nissy-core-ff0a9418672fbec935d9b58f81ad9ea719114177.zip
Python path detection in Windowsthreads
Diffstat (limited to 'build.bat')
-rw-r--r--build.bat4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.bat b/build.bat
index b082e03..9f9f5f1 100644
--- a/build.bat
+++ b/build.bat
@@ -38,7 +38,9 @@ SET STACKSIZE=-Wl,-stack:16777216
38SET LFLAGS=%STACKSIZE% 38SET LFLAGS=%STACKSIZE%
39 39
40:: Python libraries - change to match your local installation 40:: Python libraries - change to match your local installation
41SET PYPATH=%userprofile%\AppData\Local\Programs\Python\Python313 41for /f "delims=" %%i in ('python -c "import sys; print(sys.base_prefix)"') do set PYPATH=%%i
42::SET PYPATH=%userprofile%\AppData\Local\Programs\Python\Python313
43
42SET PYINCLUDE=%PYPATH%\include 44SET PYINCLUDE=%PYPATH%\include
43SET PYLIBS=%PYPATH%\libs 45SET PYLIBS=%PYPATH%\libs
44 46

Generated with cgit - Back to sebastiano.tronto.net