From 40d37ab7085f49bd0c0631b35e844e83e05aafd6 Mon Sep 17 00:00:00 2001 From: junkmd Date: Tue, 31 Oct 2023 20:48:41 +0900 Subject: [PATCH 1/3] add `matrix` to `appveyor.yml` --- appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index ed1f0e53..5c2b5e53 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,6 +25,8 @@ environment: - py: Python310-x64 - py: Python311 - py: Python311-x64 + - py: Python312 + - py: Python312-x64 test_script: - C:\%py%\python.exe setup.py install From 66af84c119d576473f51c6365342d03778a5839d Mon Sep 17 00:00:00 2001 From: junkmd Date: Tue, 31 Oct 2023 21:29:54 +0900 Subject: [PATCH 2/3] replace `distutils` with `setuptools` --- setup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 13045e88..33f83a87 100644 --- a/setup.py +++ b/setup.py @@ -3,11 +3,10 @@ import os import subprocess -from distutils.core import Command -from distutils.command.install import install -from setuptools import setup +from setuptools import Command, setup +from setuptools.command.install import install +from setuptools.command.build_py import build_py -from distutils.command.build_py import build_py with open('README.md') as readme_stream: readme = readme_stream.read() From 6df4f46a86d0a2a8078a40a3f783cdab8f9ff46d Mon Sep 17 00:00:00 2001 From: Jun Komoda <45822440+junkmd@users.noreply.github.com> Date: Tue, 31 Oct 2023 22:21:38 +0900 Subject: [PATCH 3/3] upgrade setuptools --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 5c2b5e53..67beef1a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,6 +29,7 @@ environment: - py: Python312-x64 test_script: + - C:\%py%\Scripts\pip.exe install --upgrade setuptools - C:\%py%\python.exe setup.py install - C:\%py%\Scripts\pip.exe uninstall comtypes -y - C:\%py%\python.exe test_pip_install.py