summaryrefslogtreecommitdiffstats
path: root/Modules/Setup.bootstrap.in
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-03-07 12:36:47 (GMT)
committerGitHub <noreply@github.com>2022-03-07 12:36:47 (GMT)
commitca9689f8dac01d27e041e1dbbdae146746d48ab3 (patch)
treec6dcb89cc77ea1faf55abf4d664349669808eb31 /Modules/Setup.bootstrap.in
parent3b3be05a164da43f201e35b6dafbc840993a4d18 (diff)
downloadcpython-ca9689f8dac01d27e041e1dbbdae146746d48ab3.zip
cpython-ca9689f8dac01d27e041e1dbbdae146746d48ab3.tar.gz
cpython-ca9689f8dac01d27e041e1dbbdae146746d48ab3.tar.bz2
bpo-46933: Make pwd module optional (GH-31700)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
Diffstat (limited to 'Modules/Setup.bootstrap.in')
-rw-r--r--Modules/Setup.bootstrap.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/Modules/Setup.bootstrap.in b/Modules/Setup.bootstrap.in
new file mode 100644
index 0000000..ec72497
--- /dev/null
+++ b/Modules/Setup.bootstrap.in
@@ -0,0 +1,35 @@
+# -*- makefile -*-
+
+# ---
+# Built-in modules required to get a functioning interpreter;
+# cannot be built as shared!
+*static*
+
+# module C APIs are used in core
+atexit atexitmodule.c
+faulthandler faulthandler.c
+posix posixmodule.c
+_signal signalmodule.c
+_tracemalloc _tracemalloc.c
+
+# modules used by importlib, deepfreeze, freeze, runpy, and sysconfig
+_codecs _codecsmodule.c
+_collections _collectionsmodule.c
+errno errnomodule.c
+_io _io/_iomodule.c _io/iobase.c _io/fileio.c _io/bytesio.c _io/bufferedio.c _io/textio.c _io/stringio.c
+itertools itertoolsmodule.c
+_sre _sre.c
+_thread _threadmodule.c
+time timemodule.c
+_weakref _weakref.c
+
+# commonly used core modules
+_abc _abc.c
+_functools _functoolsmodule.c
+_locale _localemodule.c
+_operator _operator.c
+_stat _stat.c
+_symtable symtablemodule.c
+
+# for systems without $HOME env, used by site._getuserbase()
+@MODULE_PWD_TRUE@pwd pwdmodule.c