1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/bin/sh
set -euf
cat << EOF
debian/runtime.d /usr/lib/pypy3/
debian/EXTERNALLY-MANAGED /usr/lib/pypy3.11/
lib-python/3/test/__init__.py /usr/lib/pypy3.11/test/
lib-python/3/test/regrtest.py /usr/lib/pypy3.11/test/
lib-python/3/test/test_support.py /usr/lib/pypy3.11/test/
lib/pypy3.11/site-packages/README.txt /usr/lib/pypy3.11/dist-packages/
EOF
find lib_pypy -type f \
! -name '*.c' \
! -name '*.o' \
! -name '*.so' \
! -name '_sysconfigdata_*.py' \
! -name 'make_ssl_data.py' \
! -path '*/__pycache__/*' \
! -path '*/_tkinter/*' \
-printf '%p\t/usr/lib/pypy3.11/%P\n' | sed 's,\(.*/\).*,\1,'
find lib-python/3 -type f \
! '(' \
-path '*/test/*' \
-o -path '*/tests/*' \
-o -path '*/site-packages/*' \
-o -path '*/ensurepip/*' \
')' \
-printf '%p\t/usr/lib/pypy3.11/%P\n' | sed 's,\(.*/\).*,\1,'
|