bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706) by tiran · Pull Request #29706 · python/cpython
self.addext(Extension("_queue", ["_queuemodule.c"])) self.addext(Extension("_statistics", ["_statisticsmodule.c"])) self.addext(Extension("_struct", ["_struct.c"])) self.addext(Extension("_typing", ["_typingmodule.c"]))
# Modules with some UNIX dependencies -- on by default:
def detect_modules(self): # remove dummy extension self.extensions = []
self.configure_compiler() self.init_inc_lib_dirs()
# If you change the scripts installed here, you also need to # check the PyBuildScripts command above, and change the links