Skip to content

Commit e73d2fa

Browse files
committed
ci(win32): install the setuptools package to build in appveyor
Present so far, it wasn't installed in the first image containing Python 3.12.
1 parent ad5bee7 commit e73d2fa

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

scripts/build/appveyor.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,14 @@ def step_install():
7171
python_info()
7272
configure_sdk()
7373
configure_postgres()
74-
75-
if opt.is_wheel:
76-
install_wheel_support()
74+
install_python_build_tools()
7775

7876

79-
def install_wheel_support():
77+
def install_python_build_tools():
8078
"""
81-
Install an up-to-date pip wheel package to build wheels.
79+
Install or upgrade pip and build tools.
8280
"""
83-
run_python("-m pip install --upgrade pip".split())
84-
run_python("-m pip install wheel".split())
81+
run_python("-m pip install --upgrade pip setuptools wheel".split())
8582

8683

8784
def configure_sdk():

0 commit comments

Comments
 (0)