Skip to content

Commit

Permalink
Don't warn build process with distutils
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
komoto48g committed Sep 6, 2024
1 parent c4d944b commit 45d50d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
from buildtools.backports.shutil_which import which


from distutils.dep_util import newer, newer_group
from setuptools.modified import newer, newer_group
from buildtools.config import Config, msg, opj, posixjoin, loadETG, etg2sip, findCmd, \
phoenixDir, wxDir, copyIfNewer, copyFile, \
macSetLoaderNames, \
Expand Down
2 changes: 1 addition & 1 deletion buildtools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

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

Expand Down
2 changes: 1 addition & 1 deletion buildtools/distutils_hacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
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
Expand Down

0 comments on commit 45d50d4

Please sign in to comment.