File: rules

package info (click to toggle)
python-model-bakery 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 540 kB
  • sloc: python: 3,991; makefile: 170; sh: 149
file content (21 lines) | stat: -rwxr-xr-x 409 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export PYBUILD_NAME=model-bakery

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

export http_proxy=127.0.0.1:9

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. python3 -m sphinx -N -bhtml \
	docs/source/ build/html # HTML generator

override_dh_auto_test:
	PYTHONPATH=. pytest-3 -s -vv tests/
override_dh_auto_clean:
	dh_auto_clean
	$(RM) -f build/