File: rules

package info (click to toggle)
bioxtasraw 2.3.0-2.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 276,000 kB
  • sloc: python: 74,181; makefile: 29; sh: 21
file content (30 lines) | stat: -rwxr-xr-x 736 bytes parent folder | download | duplicates (2)
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
27
28
29
30
#!/usr/bin/make -f

export PYBUILD_NAME=bioxtasraw
#export PYBUILD_DISABLE=test
# export PYBUILD_INTERPRETERS=python{version}

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

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=. python3 -m sphinx -N -bhtml docs/source/ build/html
	$(RM) build/html/objects.inv

override_dh_auto_install:
	dh_auto_install
	dh_numpy3
	rm -r debian/python3-bioxtasraw/usr/lib/python*/dist-packages/bioxtasraw/resources/

override_dh_auto_test:
	# disabled
	true

override_dh_auto_clean:
	dh_auto_clean
	find . -name "*.pyc" -delete
	$(RM) -r build/html bioxtasraw.egg-info Tests/.pytest_cache/