We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e62e8 commit 3f618ffCopy full SHA for 3f618ff
cpython-macos/build.py
@@ -44,6 +44,17 @@
44
b'spwd',
45
}
46
47
+REQUIRED_EXTENSIONS = {
48
+ '_codecs',
49
+ '_io',
50
+ '_signal',
51
+ '_thread',
52
+ '_tracemalloc',
53
+ '_weakref',
54
+ 'faulthandler',
55
+ 'posix',
56
+}
57
+
58
LOG_PREFIX = [None]
59
LOG_FH = [None]
60
@@ -276,6 +287,10 @@ def process_setup_line(line):
276
287
'variant': 'default',
277
288
}]
278
289
290
+ for extension, entries in bi['extensions'].items():
291
+ for entry in entries:
292
+ entry['required'] = extension in REQUIRED_EXTENSIONS
293
279
294
# Any paths left in modules_objs are not part of any extensions and
280
295
# are instead part of the core distribution.
281
296
for p in sorted(modules_objs):
0 commit comments