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
3a4c2210
Commit
3a4c2210
authored
May 31, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fallback to '_sysconfigdata' when platform-specific sysconfigdata is unavailable.
parent
00ce1222
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
distutils/sysconfig.py
distutils/sysconfig.py
+6
-1
No files found.
distutils/sysconfig.py
View file @
3a4c2210
...
@@ -444,7 +444,12 @@ def _init_posix():
...
@@ -444,7 +444,12 @@ def _init_posix():
platform=sys.platform,
platform=sys.platform,
multiarch=getattr(sys.implementation, '_multiarch', ''),
multiarch=getattr(sys.implementation, '_multiarch', ''),
))
))
try:
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
_temp = __import__(name, globals(), locals(), ['build_time_vars'], 0)
except ImportError:
# Python 3.5 and pypy 7.3.1
_temp = __import__(
'_sysconfigdata', globals(), locals(), ['build_time_vars'], 0)
build_time_vars = _temp.build_time_vars
build_time_vars = _temp.build_time_vars
global _config_vars
global _config_vars
_config_vars = {}
_config_vars = {}
...
...
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