[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Heads-up: recursive-include in Python 2.7



I noticed that distutils in Python 2.7 processed recursive-include directives differently than older versions. This don't work anymore:

recursive-include foo/ *.py

Instead, you must omit trailing slash from the directory name:

recursive-include foo *.py

I'm not sure whether this change is intentional or not, and to be frank I have more interesting things to do that investigating it. Also, this change does not affect Debian packages directly, because you normally don't run sdist at build time. However, it might badly affect your upstreams: if they are not paying attention it may lead to producing broken tarballs.

DD-list of affected packages (in unstable) attached.

--
Jakub Wilk
Arnaud Fontaine <arnau@debian.org>
   slapos.core

Daniel Stender <daniel@danielstender.com>
   didjvu
   djvusmooth
   python-djvulibre

Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
   thuban

Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
   update-manager

Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
   synaptiks

Debian Multimedia Maintainers <pkg-multimedia-maintainers@lists.alioth.debian.org>
   advene

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
   gamera (U)
   parallelpython
   pyogg
   python-djvulibre (U)
   python-repoze.who-plugins
   pyudev
   pyvorbis

Emilio Pozuelo Monfort <pochu@debian.org>
   update-manager (U)

Felix Geyer <debfx-pkg@fobos.de>
   pyudev (U)
   synaptiks (U)

Francesco Paolo Lovergine <frankie@debian.org>
   thuban (U)

Jakub Wilk <jwilk@debian.org>
   gamera

Johannes Ring <johannr@simula.no>
   ptex2tex (U)

Jordi Mallach <jordi@debian.org>
   update-manager (U)

Julian Andres Klode <jak@debian.org>
   command-not-found
   update-manager (U)

Kilian Valkhof <kilian@kilianvalkhof.com>
   trimage

Michael Vogt <mvo@debian.org>
   update-manager (U)

Mike O'Connor <stew@debian.org>
   pyogg (U)

Modestas Vainius <modax@debian.org>
   synaptiks (U)

Olivier Aubert <olivier.aubert@liris.cnrs.fr>
   advene (U)

Piotr Ożarowski <piotr@debian.org>
   python-repoze.who-plugins (U)

Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
   didjvu (U)
   djvusmooth (U)
   ptex2tex
   slapos.core (U)

Sandro Tosi <morph@debian.org>
   parallelpython (U)
   pyogg (U)
   pyvorbis (U)

Stefano Zacchiroli <zack@debian.org>
   python-repoze.who-plugins (U)

Stephan Peijnik <debian@sp.or.at>
   update-manager (U)


Reply to: