Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
a3319a38
Commit
a3319a38
authored
Sep 01, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In distutils hack, use absolute import rather than relative to avoid bpo-30876. Fixes #2352.
parent
db378e28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
_distutils_hack/__init__.py
_distutils_hack/__init__.py
+1
-1
changelog.d/2352.misc.rst
changelog.d/2352.misc.rst
+1
-0
No files found.
_distutils_hack/__init__.py
View file @
a3319a38
...
...
@@ -80,7 +80,7 @@ class DistutilsMetaFinder:
class
DistutilsLoader
(
importlib
.
abc
.
Loader
):
def
create_module
(
self
,
spec
):
return
importlib
.
import_module
(
'
._distutils'
,
'setuptoo
ls'
)
return
importlib
.
import_module
(
'
setuptools._distuti
ls'
)
def
exec_module
(
self
,
module
):
pass
...
...
changelog.d/2352.misc.rst
0 → 100644
View file @
a3319a38
In distutils hack, use absolute import rather than relative to avoid bpo-30876.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment