File: rules

package info (click to toggle)
xlsxwriter 0.9.6-0.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,324 kB
  • ctags: 1,600
  • sloc: python: 14,101; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 400 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
export PYBUILD_NAME=xlsxwriter

%:
	dh $@ --with python2,python3 --buildsystem=pybuild

override_dh_install:
	dh_install
	# Don't ship the vba_extract.py script
	rm -f debian/python-xlsxwriter/usr/bin/vba_extract.py
	rm -f debian/python3-xlsxwriter/usr/bin/vba_extract.py
	find debian/python-xlsxwriter -type d -empty -delete
	find debian/python3-xlsxwriter -type d -empty -delete