File: rules

package info (click to toggle)
rich 9.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 16,276 kB
  • sloc: python: 21,020; makefile: 29
file content (12 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/make -f

export PYBUILD_NAME=rich

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

override_dh_auto_install:
	PYBUILD_SYSTEM=custom PYBUILD_INSTALL_ARGS="{interpreter} debian/setup.py install --root={destdir}" dh_auto_install

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH=$(CURDIR) {interpreter} -m pytest" dh_auto_test