Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=django-allauth
4
5 %:
6 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
7
8 override_dh_install:
9 dh_install
10 rm -f debian/python-django-allauth-doc/usr/share/doc/python-django-allauth/examples/regular-django/db/.gitignore
11 find debian/python-django-allauth-doc/usr/share/doc/python-django-allauth/ -type d -empty -delete
12
13 override_dh_auto_build:
14 cd allauth && django-admin compilemessages
15 PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
16 dh_auto_build
17
18 override_dh_auto_test:
19 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
20 set -e; \
21 for pybin in $(shell py3versions -r); do \
22 $$pybin -m pytest;\
23 done
24 endif