From 240c5037699e4b092339c8334c4e67f50262fdb6 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sat, 3 Dec 2016 08:11:56 +0200 Subject: [PATCH] Help setuptools to find MSVC for AMD64 --- client/sources/buildenv.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/sources/buildenv.sh b/client/sources/buildenv.sh index 3b037c9d..0bb2d848 100755 --- a/client/sources/buildenv.sh +++ b/client/sources/buildenv.sh @@ -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