#!/usr/bin/make -f

export PYBUILD_NAME=web-poet
# test_testing_pytest.py needs zyte_common_items which isn't packaged
export PYBUILD_TEST_ARGS= \
	--ignore tests/test_testing_pytest.py

%:
	dh $@ --buildsystem=pybuild

override_dh_sphinxdoc:
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
	PYTHONPATH=. python3 -m sphinx -b html -N docs/ $(CURDIR)/debian/python-web-poet-doc/usr/share/doc/python-web-poet-doc/html
	dh_sphinxdoc
endif
