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.
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user