#! /usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/simple-patchsys.mk include /usr/share/cdbs/1/class/python-distutils.mk # Install egg-info directories DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed binary-post-install/python-kid:: # Remove scripts which are provided by python-kid and fix rights find debian/python-kid -name 'run.py' -o -name 'compile.py' | xargs chmod 755 clean:: # Hack to work around "setup.py clean" creating pyc files find . -name \*.pyc -print0 | xargs -r0 rm