[Python] AppVeyor CI for Python wheel package (#2941)

* Build python wheel artifacts for Windows

* Remove Win32 target
This commit is contained in:
Vladimir Surjaninov 2017-12-30 15:26:50 +03:00 committed by Tianqi Chen
parent 33ac8a0927
commit 3b09037e22

View File

@ -73,7 +73,9 @@ build_script:
# Python package # Python package
- if /i "%DO_PYTHON%" == "on" ( - if /i "%DO_PYTHON%" == "on" (
cd %APPVEYOR_BUILD_FOLDER%\python-package && cd %APPVEYOR_BUILD_FOLDER%\python-package &&
python setup.py install python setup.py install &&
mkdir wheel &&
python setup.py bdist_wheel --universal --plat-name win-amd64 -d wheel
) )
# R package: make + mingw standard CRAN packaging (only x64 for now) # R package: make + mingw standard CRAN packaging (only x64 for now)
- if /i "%target%" == "rmingw" ( - if /i "%target%" == "rmingw" (
@ -122,3 +124,6 @@ artifacts:
# binary R-package # binary R-package
- path: '**\xgboost_*.zip' - path: '**\xgboost_*.zip'
name: Bits name: Bits
# binary Python wheel package
- path: '**\*.whl'
name: Bits