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: matrix:
# For Python versions available on Appveyor, see # For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python # 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: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "311", PY_ARCH: "64", 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} - {PY_VER: "310", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}

View File

@ -71,17 +71,14 @@ def step_install():
python_info() python_info()
configure_sdk() configure_sdk()
configure_postgres() configure_postgres()
install_python_build_tools()
if opt.is_wheel:
install_wheel_support()
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 --upgrade pip setuptools wheel".split())
run_python("-m pip install wheel".split())
def configure_sdk(): def configure_sdk():