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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
#!/bin/sh
set -eu
# Temporary build directories
rm -rf build-*
# Caches
rm -rf rpython/_cache .cache
# Build artifacts
find . -name '*.pyc'
find . -name __pycache__ | xargs rm -rf
echo pypy/goal/pypy3-c pypy/goal/libpypy3-c.so
echo rpython/rlib/rvmprof/src/shared/libbacktrace/config.h
find rpython/translator/c pypy/module/cpyext/test -name '*.o'
find include '(' -name '*.h' -o -name '*.inl' ')' \
-a ! -name 'PyPy.h'
find lib_pypy '(' -name '*.so' -o -name '*.o' ')'
find lib_pypy -name '*.c' \
-a ! -name '_ctypes_test.c' \
-a ! -name '_testcapimodule.c' \
-a ! -name '_testmultiphase.c' \
-a ! -path 'lib_pypy/_cffi_ssl/_cffi_src/*' \
-a ! -path 'lib_pypy/_libmpdec/*'
# Tests
echo pypy/test.db
find extra_tests/ -name '*.o'
find lib-python/*/lib2to3/ -name '*Grammar*.pickle'
find lib-python/*/test/data/ -type f -a ! -name README
# Failures
echo core
echo pypy/core
rm -rf .cache
# Docs
rm -rf pypy/doc/_build
find pypy/doc/config -name 'commandline*.rst' \
-o -name 'objspace*.rst' \
-o -name 'translation*.rst'
find pypy/doc/config \( \
-name 'objspace*.txt' \
-o -name 'translation*.txt' \
\) -size 0 \
! -name 'objspace.honor__builtins__.txt' \
! -name 'objspace.std.sharesmallstr.txt' \
! -name 'objspace.usemodules._vmprof.txt' \
! -name 'translation.backendopt.really_remove_asserts.txt' \
! -name 'translation.icon.txt' \
! -name 'translation.noprofopt.txt'
# Generated in override_dh_installdeb
echo debian/pypy3.preinst debian/pypy3.postinst
|