windows: work around cretinous setuptools problems

This commit is contained in:
Sebastien Bourdeauducq 2022-04-05 17:07:26 +08:00
parent 29c8e3958d
commit ae5c64619a
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 --prefix=../mingw64
wine-msys2-build python setup.py install --single-version-externally-managed --prefix=../mingw64
cd ..
rm -f mingw64/lib/python3.9/site-packages/easy-install.pth
}