File: rules

package info (click to toggle)
pyhst2 2020c-7
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, sid
  • size: 13,540 kB
  • sloc: ansic: 11,807; python: 9,708; cpp: 6,786; makefile: 152; sh: 31
file content (23 lines) | stat: -rwxr-xr-x 580 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
#!/usr/bin/make -f

export PYBUILD_NAME=pyhst2
#export PYBUILD_DISABLE=test
#export PYBUILD_VERSIONS=3.8
#export PYBUILD_INTERPRETERS=python{version}

# note: the upstream setup.py does not install a requires.txt into
# the generated egg-info directory, so dh_python3 does not pick up
# the modules used by the installed scripts. Maintain that list in
# debian/control manually.

export CUDAHOME=/usr

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

override_dh_clean:
	dh_clean
	$(RM) PyHST/segment/segment_cy.cpp

execute_before_dh_gencontrol:
	dh_numpy3 -p python3-pyhst2-cuda