@@ -5,47 +5,44 @@ environment:
55 secure : nGYP/oqo/DSfCQduEhhKGg==
66
77 matrix :
8- - PYTHON : " C:\\ Python27"
9- TAG_SCENARIO : true
10- - PYTHON : " C:\\ Python27-x64"
11- TAG_SCENARIO : true
12- - PYTHON : " C:\\ Python35"
13- TAG_SCENARIO : true
14- - PYTHON : " C:\\ Python35-x64"
15- TAG_SCENARIO : true
16- - PYTHON : " C:\\ Python36"
17- TAG_SCENARIO : true
18- - PYTHON : " C:\\ Python36-x64"
19- TAG_SCENARIO : true
20- - PYTHON : " C:\\ Python37"
21- TAG_SCENARIO : true
22- - PYTHON : " C:\\ Python37-x64"
8+ - APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
9+ APPVEYOR_JOB_NAME : " python37-x64-vs2017"
2310 TAG_SCENARIO : true
2411
12+ stack : python 3.7
13+
14+ init :
15+ - cmd : set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
16+
2517install :
26- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade pip"
27- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade setuptools"
28- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade wheel"
29- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade pytest"
30- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade enum34"
31- - cmd : " %PYTHON%\\ python.exe -m pip install --upgrade twine"
18+ - python -m pip install --upgrade twine
19+ - python -m pip install --upgrade cibuildwheel
20+
3221
3322before_build :
3423 - cd python
24+ - mkdir lib
25+ - mkdir app
26+ - mkdir third_party
27+ - xcopy /S ..\lib lib
28+ - xcopy /S ..\third_party third_party
29+ - xcopy /S ..\app\tng app
30+ - copy ..\test\atca_utils_sizes.c .
3531 - cmd : " git describe --exclude v* --tags --abbrev=0 >VERSION"
3632
3733build_script :
38- - cmd : " %PYTHON% \\ python.exe setup.py bdist_wheel "
34+ - python -m cibuildwheel --output-dir wheelhouse
3935
4036artifacts :
41- - path : python\dist\*.whl
37+ - path : python\wheelhouse\*.whl
38+ name : Wheels
4239
4340# on_success:
4441# You can use this step to upload your artifacts to a public website.
4542# See Appveyor's documentation for more details. Or you can simply
4643# access your wheels from the Appveyor "artifacts" tab for your build.
4744deploy_script :
48- - ps : if ($env:APPVEYOR_REPO_TAG -eq $TRUE -and $env:APPVEYOR_REPO_TAG_NAME -notlike "v*") { & ${env:PYTHON}\ python.exe -m twine upload "dist \*.whl" --skip-existing }
45+ - ps : if ($env:APPVEYOR_REPO_TAG -eq $TRUE -and $env:APPVEYOR_REPO_TAG_NAME -notlike "v*") { & python -m twine upload "wheelhouse \*.whl" --skip-existing }
4946
5047for :
5148-
0 commit comments