}
foreach my $python (@python_dbg, @python_requested) {
- if (-x "/usr/bin/".$python) {
+ if (-f "/usr/lib/$python/distutils/__init__.py") {
# To allow backports of debhelper we don't pass
# --install-layout=deb to 'setup.py install` for
# those Python versions where the option is
Thanks, Charles Plessy
* python distutils buildsystem: Propigate failure of pyversions.
Closes: #683551 Thanks, Clint Byrum
+ * python distutils buildsystem: When checking if a version of python is
+ installed, don't trust the presense of the executable, as
+ a python2.X-minimal package may provide it while not having
+ distutils installed. Closes: #683557
* dh_icons: Improve documentation. Closes: #684895
-- Joey Hess <joeyh@debian.org> Thu, 05 Jul 2012 08:51:07 -0600