debian swirl logo

Back to the packages list pyexcelerator

#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk
include /usr/share/cdbs/1/rules/dpatch.mk

clean::
		rm -f pyExcelerator/antlr.py

DEB_INSTALL_CHANGELOGS_ALL = CHANGES.txt

install/python-excelerator::
		find ./debian/python-excelerator/usr/ \
			-name "*.py" | grep 'site-packages/pyExcelerator' | \
			xargs sed -i -e '1 s/^#\!.*python.*//'

		cp tools/xls2csv.py ./debian/python-excelerator/usr/bin/py_xls2csv
		cp tools/xls2html.py ./debian/python-excelerator/usr/bin/py_xls2html
		cp tools/xls2txt.py ./debian/python-excelerator/usr/bin/py_xls2txt

Builds:

python-excelerator
module for reading/writing excel spreadsheet files