File: rules

package info (click to toggle)
ipykernel 4.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 612 kB
  • ctags: 1,013
  • sloc: python: 5,203; makefile: 165; sh: 12
file content (17 lines) | stat: -rwxr-xr-x 496 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

#export DH_VERBOSE=1
export PYBUILD_TEST_ARGS=-v
export JUPYTER_RUNTIME_DIR=$(CURDIR)/run

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

override_dh_install:
	dh_install
	python -m ipykernel install --prefix=$(CURDIR)/debian/python-ipykernel/usr
	python3 -m ipykernel install --prefix=$(CURDIR)/debian/python3-ipykernel/usr

override_dh_auto_test:
	# the tests sometimes complete, but fail to exit due to threads
	# not being properly cleaned up (see ipykernel#207)