File: rules

package info (click to toggle)
python-mccabe 0.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 156 kB
  • sloc: python: 696; sh: 28; makefile: 7
file content (14 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f
# -*- makefile -*-

#export DH_VERBOSE = 1
export PYBUILD_NAME=mccabe

%:
	dh $@ --buildsystem=pybuild

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

override_dh_installchangelogs:
	dh_installchangelogs README.rst