#! /bin/sh -e

PACKAGE=@PVER@-minimal

dpkg --listfiles $PACKAGE |
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
        xargs rm -f >&2

rmdir /usr/local/lib/@PVER@/site-packages 2>/dev/null && \
        rmdir /usr/local/lib/@PVER@ 2>/dev/null || \
        true

#DEBHELPER#
