Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 DH_VERBOSE := 1
4 export LC_ALL=C.UTF-8
5
6 export PYBUILD_NAME := python-ml-collections
7 export PYBUILD_TEST_ARGS := \
8 -n auto ml_collections/ \
9 --ignore=ml_collections/config_dict/examples/examples_test.py
10 ifeq ($(PYBUILD_AUTOPKGTEST),1)
11 # The tests really don't like running from a different directory.
12 export PYBUILD_TEST_CUSTOM := 1
13 PYBUILD_TEST_ARGS := \
14 cd /usr/lib/python3/dist-packages && \
15 {interpreter} -m pytest $(PYBUILD_TEST_ARGS)
16 endif
17
18 %:
19 dh $@ --buildsystem=pybuild
20
21 override_dh_auto_clean:
22 dh_auto_clean
23 rm -f ml_collections.egg-info/SOURCES.txt ml_collections.egg-info/top_level.txt