windows: work around cretinous setuptools problems (3)

This commit is contained in:
Sebastien Bourdeauducq 2022-04-05 17:23:52 +08:00
parent d75f41f8d2
commit 13e38913ea
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ build() {
export PYTHONPATH=`pwd`/mingw64/lib/python3.9/site-packages
chmod +w -R source
cd source
wine-msys2-build python setup.py install --single-version-externally-managed --root=Z:\\`pwd`/../mingw64
wine-msys2-build python setup.py install --single-version-externally-managed --prefix=../mingw64 --record=setuptools-sucks.txt
cd ..
rm -f mingw64/lib/python3.9/site-packages/easy-install.pth
}