fix: correct ._pth path in Windows build script
Lint & Test / test (push) Successful in 10s
Release / create-release (push) Successful in 2s
Release / build-linux (push) Successful in 35s
Release / build-windows (push) Successful in 1m28s

..\..\app was resolving two levels up from python/ dir instead of one.
Changed to ..\app so embedded Python finds the media_server package.
This commit is contained in:
2026-03-23 13:35:17 +03:00
parent 02168519b7
commit f80f6e9299
+1 -1
View File
@@ -44,7 +44,7 @@ unzip -qo build/python-embed.zip -d "${DIST_DIR}/python"
PTH_FILE=$(ls "${DIST_DIR}"/python/python*._pth | head -1)
sed -i 's/^#\s*import site/import site/' "$PTH_FILE"
echo 'Lib\site-packages' >> "$PTH_FILE"
echo '..\..\app' >> "$PTH_FILE"
echo '..\app' >> "$PTH_FILE"
# --- Download Windows wheels ---
echo "Downloading Windows wheels..."