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 3f618ff commit 17cfd03Copy full SHA for 17cfd03
cpython-windows/build.py
@@ -69,6 +69,16 @@
69
'winsound': {},
70
}
71
72
+REQUIRED_EXTENSIONS = {
73
+ '_codecs',
74
+ '_io',
75
+ '_signal',
76
+ '_thread',
77
+ '_tracemalloc',
78
+ '_weakref',
79
+ 'faulthandler',
80
+}
81
+
82
83
def log(msg):
84
if isinstance(msg, bytes):
@@ -1339,6 +1349,10 @@ def build_cpython(pgo=False):
1339
1349
'variant': 'default',
1340
1350
}]
1341
1351
1352
+ for extension, entries in build_info['extensions'].items():
1353
+ for entry in entries:
1354
+ entry['required'] = extension in REQUIRED_EXTENSIONS
1355
1342
1356
# Copy OpenSSL libraries as a one-off.
1343
1357
for lib in ('crypto', 'ssl'):
1344
1358
name = 'lib%s_static.lib' % lib
0 commit comments