Skip to content

Commit 0543254

Browse files
committed
Remove Python 3.7 compatibility from build_ext
1 parent 9f2922d commit 0543254

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

distutils/command/build_ext.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from ..extension import Extension
2525
from ..sysconfig import customize_compiler, get_config_h_filename, get_python_version
2626
from ..util import get_platform
27-
from . import py37compat
2827

2928
# An extension name is just a dot-separated list of Python NAMEs (ie.
3029
# the same as a fully-qualified module name).
@@ -798,4 +797,4 @@ def get_libraries(self, ext): # noqa: C901
798797
ldversion = get_config_var('LDVERSION')
799798
return ext.libraries + ['python' + ldversion]
800799

801-
return ext.libraries + py37compat.pythonlib()
800+
return ext.libraries

distutils/command/py37compat.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)