File: rules

package info (click to toggle)
python-cobra 0.26.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,284 kB
  • sloc: python: 14,670; xml: 12,841; makefile: 138; sh: 32
file content (25 lines) | stat: -rwxr-xr-x 560 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
#!/usr/bin/make -f

#DH_VERBOSE = 1
#include /usr/share/dpkg/default.mk
export LC_ALL=C.UTF-8
export PYBUILD_NAME=cobra


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

# Disable building of documentation (see README.source)
#override_dh_auto_build:
#	dh_auto_build
#	$(MAKE) -C documentation_builder html

override_dh_install:
	dh_install -X update_pickles.py --package=python-cobra-data
	dh_install --remaining-packages
	find debian -name __pycache__ | xargs rm -rf

override_dh_auto_clean:
	dh_auto_clean
	rm -f cobra/solvers/cglpk.c
	rm -rf .pytest_cache