diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-03-01 18:07:44 +0000 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-03-01 18:07:44 +0000 |
| commit | ff0a9418672fbec935d9b58f81ad9ea719114177 (patch) | |
| tree | 2c009a3ad206842b07b1cd758b8192e2154231e9 /build.bat | |
| parent | af443edca17649a6f2e66707746f482caefe3d1a (diff) | |
| download | nissy-core-ff0a9418672fbec935d9b58f81ad9ea719114177.tar.gz nissy-core-ff0a9418672fbec935d9b58f81ad9ea719114177.zip | |
Python path detection in Windowsthreads
Diffstat (limited to 'build.bat')
| -rw-r--r-- | build.bat | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -38,7 +38,9 @@ SET STACKSIZE=-Wl,-stack:16777216 | |||
| 38 | SET LFLAGS=%STACKSIZE% | 38 | SET LFLAGS=%STACKSIZE% |
| 39 | 39 | ||
| 40 | :: Python libraries - change to match your local installation | 40 | :: Python libraries - change to match your local installation |
| 41 | SET PYPATH=%userprofile%\AppData\Local\Programs\Python\Python313 | 41 | for /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 | |||
| 42 | SET PYINCLUDE=%PYPATH%\include | 44 | SET PYINCLUDE=%PYPATH%\include |
| 43 | SET PYLIBS=%PYPATH%\libs | 45 | SET PYLIBS=%PYPATH%\libs |
| 44 | 46 | ||
