File: rules

package info (click to toggle)
pydicom 0.9.9-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,752 kB
  • ctags: 961
  • sloc: python: 23,351; makefile: 83; sh: 13
file content (26 lines) | stat: -rwxr-xr-x 573 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f
# -*- makefile -*-

export DH_VERBOSE = 1
export PYBUILD_NAME = dicom

PYS = $(shell pyversions -r)
export  http_proxy=http://127.0.0.1:9/
export  https_proxy=http://127.0.0.1:9/

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

override_dh_auto_build:
	dh_auto_build
	PYTHONPATH=source sphinx-build -N -bhtml docs/ build/html

override_dh_clean:
	dh_clean
	rm -rf .pydistutils.cfg build

#override_dh_auto_test:
#	cd source; \
#	for PYTHON in $(PYS); do \
#        $$PYTHON setup.py test || exit 1; \
#    done