File: rules

package info (click to toggle)
flask-wtf 0.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 380 kB
  • sloc: python: 1,182; makefile: 200; sh: 10
file content (16 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export PYBUILD_NAME=flaskext.wtf

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

override_dh_auto_test:
	python3 setup.py test

override_dh_auto_build:
	# remove failing test file
	rm -f tests/test_recaptcha.py
	dh_auto_build
	cd docs && rm -f license.rst
	cd docs && PYTHONPATH=$(CURDIR)/ make html