[debhelper-devel] Bug#813686: buildsystem python_distutils: no way to pass global options to setup.py on install
Guido Günther
agx at sigxcpu.org
Thu Feb 4 10:57:18 UTC 2016
Package: debhelper
Version: 9.20160115
Severity: wishlist
Hi,
when using --buildsystem=python_distutils there's no way to pass global options
to setup.py, so using:
dh_auto_build -- --foo --bar
results in:
python setup.py install --force --root=/build/.../debian/tmp --no-compile -O0 --foo --bar
but sometimes one needs the options prepended before the install target:
python setup.py --foo --bar install --force --root=/build/.../debian/tmp --no-compile -O0
since the option is a global one on setup.py not for the install
distutils command. Looking at python_distutils.pm it seems optons are
always appended and can never be prepended.
This happened with recent virt-manage that needs:
python setup.py --no-update-icon-cache --no-compile-schemas install --force --root=/build/virt-manager-1.3.2*/debian/tmp --no-compile -O0
Please add a way to allow for this.
Cheers,
-- Guido
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages debhelper depends on:
ii autotools-dev 20150820.1
ii binutils 2.26-2
ii dh-strip-nondeterminism 0.015-1
ii dpkg 1.18.4
ii dpkg-dev 1.18.4
ii file 1:5.25-2
ii libdpkg-perl 1.18.4
ii man-db 2.7.5-1
ii perl 5.22.1-4
ii po-debconf 1.0.19
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 2.201604
-- no debconf information
More information about the debhelper-devel
mailing list