File: rules

package info (click to toggle)
watson 1.8.0-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,320 kB
  • sloc: python: 3,103; makefile: 49; sh: 6
file content (20 lines) | stat: -rwxr-xr-x 344 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
#!/usr/bin/make -f

#export DH_VERBOSE = 1

export PYBUILD_NAME = watson
# export PYBUILD_TEST_PYTEST = 1

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


override_dh_auto_install:
	dh_auto_install
	mkdir -p debian/watson/usr
	mv debian/python3-watson/usr/bin debian/watson/usr

override_dh_clean:
	rm -fr .tox
	rm -fr .pytest_cache
	dh_clean