File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,8 +41,10 @@ def Method3(self, in1):
4141
4242
4343def BuildTypelib ():
44- # https://github.com/pypa/setuptools/pull/4069
45- from distutils .dep_util import newer
44+ if sys .version_info >= (3 , 8 ):
45+ from setuptools .modified import newer
46+ else :
47+ from distutils .dep_util import newer
4648
4749 this_dir = os .path .dirname (__file__ )
4850 idl = os .path .abspath (os .path .join (this_dir , "pippo.idl" ))
Original file line number Diff line number Diff line change 4444from setuptools .command .install import install
4545from setuptools .command .install_lib import install_lib
4646
47- # https://github.com/pypa/setuptools/pull/4069
48- from distutils .dep_util import newer_group
4947from distutils .command .install_data import install_data
50- from distutils .command .install_lib import install_lib
51- from distutils .core import Extension
48+
49+ if sys .version_info >= (3 , 8 ):
50+ from setuptools .modified import newer_group
51+ else :
52+ from distutils .dep_util import newer_group
5253
5354# some modules need a static CRT to avoid problems caused by them having a
5455# manifest.
You can’t perform that action at this time.
0 commit comments