Skip to content

Commit 2d7bf2b

Browse files
committed
Remove old py*compat modules (#3951)
2 parents 8f7c8ff + d06e1ca commit 2d7bf2b

File tree

4 files changed

+2
-151
lines changed

4 files changed

+2
-151
lines changed

setuptools/_imp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import importlib.util
88
import importlib.machinery
99

10-
from .py34compat import module_from_spec
10+
from importlib.util import module_from_spec
1111

1212

1313
PY_SOURCE = 1

setuptools/command/py36compat.py

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

setuptools/command/sdist.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import contextlib
77
from itertools import chain
88

9-
from .py36compat import sdist_add_defaults
10-
119
from .._importlib import metadata
1210
from .build import _ORIGINAL_SUBCOMMANDS
1311

@@ -21,7 +19,7 @@ def walk_revctrl(dirname=''):
2119
yield item
2220

2321

24-
class sdist(sdist_add_defaults, orig.sdist):
22+
class sdist(orig.sdist):
2523
"""Smart sdist that finds anything supported by revision control"""
2624

2725
user_options = [

setuptools/py34compat.py

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

0 commit comments

Comments
 (0)