Help setuptools to find MSVC for AMD64

This commit is contained in:
Oleksii Shevchuk 2016-12-03 08:11:56 +02:00
parent c11d2d7253
commit 240c503769
1 changed files with 7 additions and 0 deletions

View File

@ -76,8 +76,15 @@ for prefix in $WINE32 $WINE64; do
touch $prefix/drive_c/.vc
done
WINEPREFIX=$WINE64 wine reg add \
'HKCU\Software\Microsoft\DevDiv\VCForPython\9.0' \
/t REG_SZ /v installdir \
/d 'C:\Program Files (x86)\Common Files\Microsoft\Visual C++ for Python\9.0' \
/f
for prefix in $WINE32 $WINE64; do
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m pip install --upgrade pip
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m pip install --upgrade setuptools
WINEPREFIX=$prefix wine C:\\Python27\\python -O -m pip install --upgrade $PACKAGES
done