5
if [ "$1" = configure ]; then
6
files=$(dpkg -L lib@PVER@-dbg | sed -n '/^\/usr\/lib\/@PVER@\/.*\.py$/p')
7
if [ -n "$files" ]; then
8
@PVER@ -E -S /usr/lib/@PVER@/py_compile.py $files
9
if grep -sq '^byte-compile[^#]*optimize' /etc/python/debian_config; then
10
@PVER@ -E -S -O /usr/lib/@PVER@/py_compile.py $files
13
echo >&2 "@PVER@-dbg: can't get files for byte-compilation"