File: rules

package info (click to toggle)
bioxtasraw 2.1.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 250,808 kB
  • sloc: python: 61,799; makefile: 28; sh: 21
file content (29 lines) | stat: -rwxr-xr-x 659 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
#!/usr/bin/make -f

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

%:
	dh $@ --with python3,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

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/