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