debian swirl logo

Back to the packages list kid

#! /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

Builds:

python-kid
simple pythonic template language for xml based vocabularies