This bug was fixed in the package python-distutils-extra - 2.27-1 --------------- python-distutils-extra (2.27-1) unstable; urgency=low
* auto.py: Cleaner approach to determine whether a module is locally provided. This now catches all relative imports. (LP: #746565) * Fix installation of symlinks in data/ dir (LP: #770566): - test/auto.py: Add test for installing a symlink which points to a nonexisting target directory/file. This reproduces the gist of the problem. - test/auto.py: Preserve symlinks in copytree() calls, so that we can actually verify that symlinks are preserved properly. - test/auto.py: Drop requirement that diff throws no error messages, as it will complain about the broken symlink. - DistUtilsExtra/auto.py, install_auto: Use os.walk() instead of distutils.filelist.findall() to pick out symlinks, as the latter fails badly with broken symlinks. - DistUtilsExtra/command/build_icons.py: Ignore symbolic links. distutils breaks on them when they point to a nonexisting target, and we handle them in auto.py. * DistUtilsExtra/auto.py: Put back "except .. as" syntax, now that we dropped Python 2.5. Drop 2to3 from debian/rules for good now. * debian/control: Bump minimal Python version to >= 2.6. -- Ubuntu Archive Auto-Sync <arch...@ubuntu.com> Sun, 22 May 2011 13:55:08 +0000 ** Changed in: python-distutils-extra (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/746565 Title: Ignore explicitly relative 'from' imports when scanning for dependencies -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs