Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 #export DH_VERBOSE = 1
5
6 include /usr/share/dpkg/pkg-info.mk
7
8 export PYBUILD_NAME=selenium
9 export DH_ALWAYS_EXCLUDE=webdriver.xpi:x_ignore_nofocus.cpython-34m-x86_64-linux-gnu.so:x_ignore_nofocus.x86_64-linux-gnu.so
10
11 BUILD_DATE = $(shell LC_ALL=C date -u "+%d %B %Y" -d "@$(SOURCE_DATE_EPOCH)")
12 SPHINXOPTS := -E -N -D html_last_updated_fmt="$(BUILD_DATE)"
13
14 %:
15 dh $@ --buildsystem=pybuild
16
17 override_dh_clean:
18 dh_clean
19 rm -rf .mypy_cache
20
21 override_dh_sphinxdoc:
22 ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
23 PYTHONPATH=. python3 -m sphinx $(SPHINXOPTS) docs/source $(CURDIR)/debian/python-selenium-doc/usr/share/doc/python-selenium-doc/html
24 dh_sphinxdoc
25 endif
26
27 override_dh_installchangelogs:
28 dh_installchangelogs CHANGES
29
30 override_dh_auto_test:
31 # The unit tests need to get called this way. But,... there is some issue
32 # with the threading which is used inside the unit tests comes to play.
33 # The test calling isn't getting unlocked and got blocked for ever. This
34 # needs further investigation. We do the unit tests within the autopktest
35 # any way.
36 #dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest"