build: remove python37._pth on windows

THis file breaks python's `site` module, and `PYTHONPATH`.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-09-11 20:53:13 +08:00
parent a6db2af051
commit b8e049ea79

View File

@ -51,6 +51,7 @@ case "${ARCH}" in
cd $output/bin
unzip -o $input/python-${ARCH}.zip
rm python37.zip # we already have this unzipped from nextpnr-ice40
rm -f python37._pth # If this file is present, PYTHONPATH is very broken
# Nextpnr
wget -O $input/nextpnr-${ARCH}.zip $win_nextpnr_url