windows: work around cretinous setuptools problems (2)

This commit is contained in:
Sebastien Bourdeauducq 2022-04-05 17:13:28 +08:00
parent a700c2c4e4
commit d75f41f8d2
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 export PYTHONPATH=`pwd`/mingw64/lib/python3.9/site-packages
chmod +w -R source chmod +w -R source
cd source cd source
wine-msys2-build python setup.py install --single-version-externally-managed --prefix=../mingw64 wine-msys2-build python setup.py install --single-version-externally-managed --root=Z:\\`pwd`/../mingw64
cd .. cd ..
rm -f mingw64/lib/python3.9/site-packages/easy-install.pth rm -f mingw64/lib/python3.9/site-packages/easy-install.pth
} }