Skip to content

Commit

Permalink
Fallback when SETUPTOOLS_USE_DISTUTILS=stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 8, 2023
1 parent 987bc92 commit c614ef5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setuptools/command/build_clib.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import distutils.command.build_clib as orig
from distutils.errors import DistutilsSetupError
from distutils import log
from distutils._modified import newer_pairwise_group

try:
from distutils._modified import newer_pairwise_group
except ImportError:
# fallback for SETUPTOOLS_USE_DISTUTILS=stdlib
from .._distutils._modified import newer_pairwise_group


class build_clib(orig.build_clib):
Expand Down

0 comments on commit c614ef5

Please sign in to comment.