Merge branch 'wheel-312-win'

This commit is contained in:
Daniele Varrazzo 2023-11-01 11:45:35 +01:00
commit e0d1daf290
2 changed files with 6 additions and 7 deletions

View File

@ -6,6 +6,8 @@ environment:
matrix:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
- {PY_VER: "312", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "312", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "311", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "311", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "310", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}

View File

@ -71,17 +71,14 @@ def step_install():
python_info()
configure_sdk()
configure_postgres()
if opt.is_wheel:
install_wheel_support()
install_python_build_tools()
def install_wheel_support():
def install_python_build_tools():
"""
Install an up-to-date pip wheel package to build wheels.
Install or upgrade pip and build tools.
"""
run_python("-m pip install --upgrade pip".split())
run_python("-m pip install wheel".split())
run_python("-m pip install --upgrade pip setuptools wheel".split())
def configure_sdk():