File: rules

package info (click to toggle)
python-tablib 0.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 588 kB
  • sloc: python: 4,105; makefile: 119
file content (13 lines) | stat: -rwxr-xr-x 370 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 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"