Don't warn build process with distutils

Porting from Distutils:
Change distutils.dep_util --> setuptools.modified.
https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html
https://peps.python.org/pep-0632/
This commit is contained in:
Kazuya O'moto
2024-09-06 00:41:08 +09:00
parent c4d944b582
commit 45d50d4553
3 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ import platform
from distutils.file_util import copy_file
from distutils.dir_util import mkpath
from distutils.dep_util import newer
from setuptools.modified import newer
import distutils.sysconfig

View File

@@ -18,7 +18,7 @@ import distutils.command.install_data
import distutils.command.install_headers
import distutils.command.clean
from distutils.dep_util import newer, newer_group
from setuptools.modified import newer, newer_group
from distutils import log
from .config import Config, posixjoin, loadETG, etg2sip