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
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. python3 -m sphinx -b html docs debian/python-jupyter-core-doc/usr/share/doc/python-jupyter-core-doc/html
dh_sphinxdoc -O--buildsystem=pybuild
endif
override_dh_installchangelogs:
dh_installchangelogs -k docs/changelog.rst
execute_after_dh_auto_install:
rm -r debian/tmp/usr/lib/python3*/dist-packages/jupyter_core/tests
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
HOME=/tmp/homedir PYTHONPATH=. python3 -m pytest
endif
|