@@ -1006,7 +1006,6 @@ def detect_simple_extensions(self):
1006
1006
if lib :
1007
1007
time_libs .append (lib )
1008
1008
1009
- # time module is built by Modules/Setup.bootstrap
1010
1009
# libm is needed by delta_new() that uses round() and by accum() that
1011
1010
# uses modf().
1012
1011
self .addext (Extension ('_datetime' , ['_datetimemodule.c' ]))
@@ -1031,7 +1030,6 @@ def detect_simple_extensions(self):
1031
1030
self .add (Extension ('_opcode' , ['_opcode.c' ]))
1032
1031
# asyncio speedups
1033
1032
self .add (Extension ("_asyncio" , ["_asynciomodule.c" ]))
1034
- # _abc module is built by Modules/Setup.bootstrap
1035
1033
# _queue module
1036
1034
self .add (Extension ("_queue" , ["_queuemodule.c" ]))
1037
1035
# _statistics module
@@ -1050,7 +1048,6 @@ def detect_simple_extensions(self):
1050
1048
libs = ['bsd' ]
1051
1049
self .add (Extension ('fcntl' , ['fcntlmodule.c' ],
1052
1050
libraries = libs ))
1053
- # pwd module is built by Modules/Setup.bootstrap
1054
1051
# grp(3)
1055
1052
if not VXWORKS :
1056
1053
self .add (Extension ('grp' , ['grpmodule.c' ]))
@@ -1505,6 +1502,9 @@ def detect_modules(self):
1505
1502
self .configure_compiler ()
1506
1503
self .init_inc_lib_dirs ()
1507
1504
1505
+ # Some C extensions are built by entries in Modules/Setup.bootstrap.
1506
+ # These are extensions are required to bootstrap the interpreter or
1507
+ # build process.
1508
1508
self .detect_simple_extensions ()
1509
1509
if TEST_EXTENSIONS :
1510
1510
self .detect_test_extensions ()
0 commit comments