File: rules

package info (click to toggle)
csvkit 0.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 336 kB
  • sloc: python: 2,660; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 349 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

%:
	dh $@ --with python2,python3

override_dh_auto_install:
	python  setup.py install --install-layout=deb --root=$(CURDIR)/debian/python-csvkit
	# cli tools are provided only by the py3k package
	rm -rf $(CURDIR)/debian/python-csvkit/usr/bin
	python3 setup.py install --install-layout=deb --root=$(CURDIR)/debian/python3-csvkit