Skip to content

Commit ac0c478

Browse files
committed
macos: add Setup.dist and Setup.local to distribution
So we can parse it for active modules and library dependencies.
1 parent b2aff13 commit ac0c478

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cpython-macos/build-cpython.sh

+5
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,12 @@ cp -av ${DEPS_DIR}/lib/*.a ${ROOT}/out/python/lib/
5858
# downstream consumers may want to strip. We bundle config.c and config.c.in so
5959
# a custom one can be produced downstream.
6060
# frozen.c is something similar for frozen modules.
61+
# Setup.dist/Setup.local are useful to parse for active modules and library
62+
# dependencies.
6163
cp -av Modules/config.c ${ROOT}/out/python/build/Modules/
6264
cp -av Modules/config.c.in ${ROOT}/out/python/build/Modules/
6365
cp -av Python/frozen.c ${ROOT}/out/python/build/Python/
66+
cp -av Modules/Setup.dist ${ROOT}/out/python/build/Modules/
67+
cp -av Modules/Setup.local ${ROOT}/out/python/build/Modules/
68+
6469
cp ${ROOT}/python-licenses.rst ${ROOT}/out/python/LICENSE.rst

0 commit comments

Comments
 (0)