mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-25 10:23:43 +03:00
Merge branch 'wheel-312-win'
This commit is contained in:
commit
e0d1daf290
|
@ -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}
|
||||||
|
|
|
@ -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():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user