File: rules

package info (click to toggle)
python-tblib 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 308 kB
  • sloc: python: 626; makefile: 10
file content (15 lines) | stat: -rwxr-xr-x 291 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

export PYBUILD_NAME := tblib
export PYBUILD_TEST_PYTEST := 1
export PYBUILD_TEST_ARGS := -vv tests {dir}/README.rst

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

override_dh_auto_test:
	PYTHONPATH=src dh_auto_test

override_dh_clean:
	dh_clean
	rm -rf .cache