1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#! /usr/bin/make -f
DEB_PYTHON_SYSTEM=pysupport
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
-rm -rf debian/python-kid/usr/lib/
clean::
# Hack to work around "setup.py clean" creating pyc files
find . -name \*.pyc -print0 | xargs -r0 rm
|