File: rules

package info (click to toggle)
python-authlib 0.15.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,408 kB
  • sloc: python: 18,626; makefile: 47; javascript: 37; sh: 10
file content (24 lines) | stat: -rwxr-xr-x 556 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
22
23
24
#!/usr/bin/make -f

export PYBUILD_NAME=authlib
export PYBUILD_TEST_PYTEST=1

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

override_dh_auto_build:
	dh_auto_build
	$(MAKE) -C docs html

override_dh_auto_test:
	dh_auto_test -- --test-pytest --test-args tests/core
	DJANGO_SETTINGS_MODULE=tests.django.settings \
		dh_auto_test -- --test-pytest --test-args tests/django
	dh_auto_test -- --test-pytest --test-args tests/flask

override_dh_auto_clean:
	dh_auto_clean
	$(MAKE) -C docs clean

override_dh_compress:
	dh_compress -X.html -X.ico