# This is a list of Python standard library path patterns # we exclude from the embedded device Python-Apple-support test tarballs. # It is used by `tar -X` during the Makefile build. # # Remove binaries Python/Resources/bin # Remove include/ directory, only useful for compiling C extension modules. Python/Resources/include # Remove the Resources version of libpython; # we use the version packaged at the root level Python/Resources/lib/libpython3.*.a # Remove lib/pkgconfig files. These are used for compiling C extension modules. Python/Resources/lib/pkgconfig # Remove compiled test and example modules. Python/Resources/lib/python*/lib-dynload/_test*.so Python/Resources/lib/python*/lib-dynload/_ctypes_test*.so Python/Resources/lib/python*/lib-dynload/xxlimited*.so Python/Resources/lib/python*/lib-dynload/_xxtestfuzz.so # Remove site-packages directory. The template unpacks user code and # dependencies to a different path. Python/Resources/lib/python*/site-packages # Remove share/ directory, which contains user documentation (man pages). Python/Resources/share # Remove pyc files. These take up space, but since most stdlib modules are # never imported by user code, they mostly have no value. Python/Resources/*/*.pyc