File: rules

package info (click to toggle)
toolz 0.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 560 kB
  • sloc: python: 4,147; makefile: 137; sh: 2
file content (18 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

export PYBUILD_NAME=toolz
export PYBUILD_DISABLE_python2=1
export PYBUILD_TEST_ARGS_python3=-k'not test_curried_exception'

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_clean:
	rm -rf build doc/build toolz.egg-info .cache
	dh_clean

override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=. sphinx-build $(SPHINXOPTS) -n -bhtml doc/source build/html