File: rules

package info (click to toggle)
python-memory-profiler 0.41%2Bgit20161018-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 280 kB
  • ctags: 163
  • sloc: python: 1,469; makefile: 24
file content (18 lines) | stat: -rwxr-xr-x 532 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f
#export DH_VERBOSE=1
export PYBUILD_NAME=memory-profiler

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

# disabled unittest; it will fail
override_dh_auto_install:
	dh_auto_install
	mv $(CURDIR)/debian/python-memory-profiler/usr/bin/mprof \
	    $(CURDIR)/debian/python-memory-profiler/usr/bin/python-mprof
	mv $(CURDIR)/debian/python3-memory-profiler/usr/bin/mprof \
	    $(CURDIR)/debian/python3-memory-profiler/usr/bin/python3-mprof

override_dh_auto_test:
	#dh_auto_test
	env PYTHONPATH=. make test