File: rules

package info (click to toggle)
python-tablib 0.12.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 560 kB
  • sloc: python: 3,988; makefile: 119
file content (13 lines) | stat: -rwxr-xr-x 378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export PYBUILD_NAME=tablib
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/lib/python3*/dist-packages/tablib/packages/dbfpy

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

override_dh_installchangelogs:
	dh_installchangelogs HISTORY.rst

override_dh_auto_test:
	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest test_tablib.py"