From b8e049ea79c340430b9b67f444590504b89fdfd9 Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Wed, 11 Sep 2019 20:53:13 +0800 Subject: [PATCH] build: remove python37._pth on windows THis file breaks python's `site` module, and `PYTHONPATH`. Signed-off-by: Sean Cross --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index c34e0ae..07b6153 100755 --- a/build.sh +++ b/build.sh @@ -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