From f80f6e92998402556573a47d764805d33b5c24ba Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Mon, 23 Mar 2026 13:35:17 +0300 Subject: [PATCH] fix: correct ._pth path in Windows build script ..\..\app was resolving two levels up from python/ dir instead of one. Changed to ..\app so embedded Python finds the media_server package. --- build-dist-windows.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-dist-windows.sh b/build-dist-windows.sh index b2b4acb..5d53a53 100644 --- a/build-dist-windows.sh +++ b/build-dist-windows.sh @@ -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..."