From 3b09037e22a7966889c87c7b092bbf3da61c11a4 Mon Sep 17 00:00:00 2001 From: Vladimir Surjaninov Date: Sat, 30 Dec 2017 15:26:50 +0300 Subject: [PATCH] [Python] AppVeyor CI for Python wheel package (#2941) * Build python wheel artifacts for Windows * Remove Win32 target --- appveyor.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 285de3ec4..2dc35521a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -73,7 +73,9 @@ build_script: # Python package - if /i "%DO_PYTHON%" == "on" ( 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) - if /i "%target%" == "rmingw" ( @@ -122,3 +124,6 @@ artifacts: # binary R-package - path: '**\xgboost_*.zip' name: Bits + # binary Python wheel package + - path: '**\*.whl' + name: Bits