Skip to content

Commit

Permalink
Don't use setuptools.dep_util anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Jun 4, 2024
1 parent ce08620 commit 63952c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,10 @@ class my_build_shared_clib(my_build_clib):
def do_build_libraries(self, libraries):
from distutils.errors import DistutilsSetupError
from distutils import log
from setuptools.dep_util import newer_pairwise_group
try:
from setuptools import newer_pairwise_group
except ImportError:
from setuptools.dep_util import newer_pairwise_group
from distutils.ccompiler import CCompiler

builder = self.distribution.get_command_obj('build_ext')
Expand Down

0 comments on commit 63952c3

Please sign in to comment.