Skip to content

Commit db3e45e

Browse files
committed
Consolidate comments about extensions in Setup.bootstrap
1 parent e749a53 commit db3e45e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,6 @@ def detect_simple_extensions(self):
10061006
if lib:
10071007
time_libs.append(lib)
10081008

1009-
# time module is built by Modules/Setup.bootstrap
10101009
# libm is needed by delta_new() that uses round() and by accum() that
10111010
# uses modf().
10121011
self.addext(Extension('_datetime', ['_datetimemodule.c']))
@@ -1031,7 +1030,6 @@ def detect_simple_extensions(self):
10311030
self.add(Extension('_opcode', ['_opcode.c']))
10321031
# asyncio speedups
10331032
self.add(Extension("_asyncio", ["_asynciomodule.c"]))
1034-
# _abc module is built by Modules/Setup.bootstrap
10351033
# _queue module
10361034
self.add(Extension("_queue", ["_queuemodule.c"]))
10371035
# _statistics module
@@ -1050,7 +1048,6 @@ def detect_simple_extensions(self):
10501048
libs = ['bsd']
10511049
self.add(Extension('fcntl', ['fcntlmodule.c'],
10521050
libraries=libs))
1053-
# pwd module is built by Modules/Setup.bootstrap
10541051
# grp(3)
10551052
if not VXWORKS:
10561053
self.add(Extension('grp', ['grpmodule.c']))
@@ -1505,6 +1502,9 @@ def detect_modules(self):
15051502
self.configure_compiler()
15061503
self.init_inc_lib_dirs()
15071504

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.
15081508
self.detect_simple_extensions()
15091509
if TEST_EXTENSIONS:
15101510
self.detect_test_extensions()

0 commit comments

Comments
 (0)