Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions com/win32com/test/pippo_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ def Method3(self, in1):


def BuildTypelib():
# https://github.com/pypa/setuptools/pull/4069
from distutils.dep_util import newer
if sys.version_info >= (3, 8):
from setuptools.modified import newer
else:
from distutils.dep_util import newer

this_dir = os.path.dirname(__file__)
idl = os.path.abspath(os.path.join(this_dir, "pippo.idl"))
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@
from setuptools.command.install import install
from setuptools.command.install_lib import install_lib

# https://github.com/pypa/setuptools/pull/4069
from distutils.dep_util import newer_group
from distutils.command.install_data import install_data
from distutils.command.install_lib import install_lib
from distutils.core import Extension

if sys.version_info >= (3, 8):
from setuptools.modified import newer_group
else:
from distutils.dep_util import newer_group

# some modules need a static CRT to avoid problems caused by them having a
# manifest.
Expand Down