File tree Expand file tree Collapse file tree 2 files changed +6
-23
lines changed
Expand file tree Collapse file tree 2 files changed +6
-23
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ set VCVARSALL="C:\Program Files (x86)\Microsoft Visual Studio %TOOLCHAIN_VERSION
2424if [%Platform% ] NEQ [x64] goto win32
2525set TARGET_ARCH = x86_64
2626set TARGET_PROGRAM_FILES = %ProgramFiles%
27+ set WHEEL_PLAT_NAME = win_amd64
2728call %VCVARSALL% amd64
2829if %ERRORLEVEL% NEQ 0 exit 1
2930goto download
@@ -33,6 +34,7 @@ echo on
3334if [%Platform% ] NEQ [Win32] exit 1
3435set TARGET_ARCH = i686
3536set TARGET_PROGRAM_FILES = %ProgramFiles(x86)%
37+ set WHEEL_PLAT_NAME = win32
3638call %VCVARSALL% amd64_x86
3739if %ERRORLEVEL% NEQ 0 exit 1
3840goto download
@@ -67,10 +69,12 @@ if %ERRORLEVEL% NEQ 0 exit 1
6769python -m pip install -r test_requirements.txt
6870if %ERRORLEVEL% NEQ 0 exit 1
6971
70- CALL appveyor\build.cmd python -m pip install .
72+ python -m pip install .
7173if %ERRORLEVEL% NEQ 0 exit 1
7274
7375py.test test/
7476if %ERRORLEVEL% NEQ 0 exit 1
7577
76- CALL appveyor\build.cmd python setup.py bdist_wheel
78+ REM We only need one 64-bit wheel and one 32-bit wheel for Windows.
79+ python setup.py bdist_wheel --plat-name %WHEEL_PLAT_NAME%
80+ if %ERRORLEVEL% NEQ 0 exit 1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments