# This config file is used by appveyor.com to build Windows release binaries version: 0.7.dev0-b{build} branches: only: - main - /v\d+(\.\d+)*/ image: Visual Studio 2022 environment: global: # See: http://stackoverflow.com/a/13751649/163740 WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd" PYEXE: "%WRAPPER% %PYTHON%\\python.exe" SETUPPY: "%PYEXE% setup.py --with-extension" PIP: "%PYEXE% -m pip" TWINE: "%PYEXE% -m twine" PYPI_TOKEN: secure: w9ql7j0y9fatBSCgsUn1MDFsDvc0WXY88K8hNBHZzq6uBPxWMd7ZblMZSJv4Nywr6ViudQCn4qM/Emm7R8UgKGnHeSX+B8V41ywKgbszEh9wKtuMWI5htsfjaD3Yib/dz/ynGDKEf3nkE6rP2j9bfVLMUARHmvztL+G2rUrjj2GQTqs0ddJ16OudDo2aA/ClsW1Zexc5GPgkun5+JFneUeVV59/bwORGfSjgEtoMyIQ8mdFs/My4sImC+jXFfSHD6s08anIuNX5KO6SSg5mwcxZq+1PweceHivJ87VvCI7w= matrix: - PYTHON: "C:\\Python38" PYTHON_VERSION: "3.8" PYTHON_ARCH: "32" - PYTHON: "C:\\Python38-x64" PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" - PYTHON: "C:\\Python39" PYTHON_VERSION: "3.9" PYTHON_ARCH: "32" - PYTHON: "C:\\Python39-x64" PYTHON_VERSION: "3.9" PYTHON_ARCH: "64" - PYTHON: "C:\\Python310" PYTHON_VERSION: "3.10" PYTHON_ARCH: "32" - PYTHON: "C:\\Python310-x64" PYTHON_VERSION: "3.10" PYTHON_ARCH: "64" - PYTHON: "C:\\Python311" PYTHON_VERSION: "3.11" PYTHON_ARCH: "32" - PYTHON: "C:\\Python311-x64" PYTHON_VERSION: "3.11" PYTHON_ARCH: "64" - PYTHON: "C:\\Python312" PYTHON_VERSION: "3.12" PYTHON_ARCH: "32" - PYTHON: "C:\\Python312-x64" PYTHON_VERSION: "3.12" PYTHON_ARCH: "64" install: - "%PIP% install --disable-pip-version-check --user --upgrade pip" - "%PIP% install wheel twine pytest" build_script: - "%SETUPPY% build" - "%SETUPPY% develop --user" test_script: - "%PYEXE% -m pytest" after_test: - "%SETUPPY% bdist_wheel" on_success: - "IF %APPVEYOR_REPO_TAG%==true %TWINE% upload dist\\* -u __token__ -p %PYPI_TOKEN%" artifacts: - path: dist\* deploy: off