Skip to content

Commit a980977

Browse files
committed
fixup windows
1 parent e1bf4e8 commit a980977

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ environment:
99
- PYTHON: "C:\\Python37"
1010
- PYTHON: "C:\\Python312"
1111
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
12+
INSTALL_SETUPTOOLS: "1"
1213
- PYTHON: "C:\\Python313"
1314
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
15+
INSTALL_SETUPTOOLS: "1"
1416
- PYTHON: "C:\\Python26-x64"
1517
- PYTHON: "C:\\Python27-x64"
1618
- PYTHON: "C:\\Python33-x64"
@@ -22,8 +24,10 @@ environment:
2224
- PYTHON: "C:\\Python37-x64"
2325
- PYTHON: "C:\\Python312-x64"
2426
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
27+
INSTALL_SETUPTOOLS: "1"
2528
- PYTHON: "C:\\Python313-x64"
2629
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
30+
INSTALL_SETUPTOOLS: "1"
2731

2832
build: off
2933

build.cmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,9 @@ IF "%DISTUTILS_USE_SDK%"=="1" (
1818
ECHO Using default MSVC build environment
1919
)
2020

21+
IF "%INSTALL_SETUPTOOLS%"=="1" (
22+
ECHO Installing setuptools
23+
%PYTHON%\\python.exe -m pip install "setuptools<72"
24+
)
25+
2126
CALL %*

0 commit comments

Comments
 (0)