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
|
#!/bin/sh
set -eu
# Temporary build directories
rm -rf build-*
# Caches
rm -rf rpython/_cache
# Created by our PEP3147 patch:
echo pypy/doc/config/objspace.magic_tag.txt
# Build artifacts
find . -name '*.pyc'
find . -name __pycache__ | xargs rm -rf
echo pypy/goal/pypy-c pypy/goal/libpypy-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' -o -name '*.c' ')' \
-a ! -name '_ctypes_test.c' -a ! -name '_testcapimodule.c'
# Tests
echo pypy/test.db
find extra_tests/ -name '*.o'
find lib-python/2.7/lib2to3/ -name '*Grammar*.pickle'
find lib-python/2.7/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/pypy.preinst debian/pypy.postinst
|