File: rules

package info (click to toggle)
pydoctor 19.11.0%2Bgit20200303.47424e7-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,400 kB
  • sloc: python: 6,290; makefile: 11; sh: 8
file content (16 lines) | stat: -rwxr-xr-x 487 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME := pydoctor

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

override_dh_auto_test:
	# Run tests specified in upstream tox.ini
	dh_auto_test -- --system=custom \
	    --test-args='cd {build_dir}; \
		python3 --version; \
		trial3 --version; \
		python3-coverage run --source pydoctor --omit "pydoctor/test/*" --branch -m pytest pydoctor; \
		python3-coverage report -m; \
		find pydoctor/ -name \*.py ! -path '*/testpackages/*' | xargs pyflakes3'