[Build-common-hackers] Mis-use of DEB_PYTHON_INSTALL_ARGS_ALL?

W. Borgert debacle@debian.org
Tue, 10 Feb 2004 23:21:23 +0000


if I have a Python package that results in multiple binary
packages, per default my debian/rules does the 'setup.py
install' step multiple times.  The rules files is simple:

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/python-distutils.mk

Because the install takes place for every binary package,
this is not what I want.  As a workaround, I added:

P23S=$(shell pwd)/debian/tmp
DEB_PYTHON_INSTALL_ARGS_ALL = --no-compile -O0 --root=$(P23S)

But this still installs multiple times - only that it
installs now every time in the same directory.  There must
be a better/cleaner way, but I cannot see it.  Show me the
light!  Thanks in advance.

W. Borgert <debacle@debian.org>