[issue12885] distutils.filelist.findall() fails on broken symlink in Py2.x

Éric Araujo report at bugs.python.org
Mon Sep 5 17:51:43 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

> I've come across it as I'm creating a Debian package of the Python
> package in the same tree

I think a lot of people are doing this.

> The broken symlinks are relative and in debian/tmp, and will point to
> locations provided by other Debian packages once my package is
> installed in the right location.

It’s too bad that filelist goes into the debian subdirectory :(  The Ubuntu-originated python-distutils-extra project had a similar problem and they switched from FileList.findall to os.walk to avoid it.

What happens if you ignore the debian dir in MANIFEST.in?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12885>
_______________________________________


More information about the Python-bugs-list mailing list