File: rules

package info (click to toggle)
python-mitogen 0.3.3-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,424 kB
  • sloc: python: 21,662; sh: 170; makefile: 74; perl: 19; ansic: 18; javascript: 5
file content (12 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/make -f

export PYBUILD_BEFORE_BUILD=rm -rf {dir}/ansible_mitogen/compat/simplejson

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

override_dh_auto_test:
	dh_auto_test -- --system custom --test-args="{interpreter} \
			-m unittest discover -v \
			--start-directory {dir}/tests \
			--pattern '*_test.py'"