* 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 <email address hidden> Sun, 22 May 2011 13:55:08 +0000
This bug was fixed in the package python- distutils- extra - 2.27-1
--------------- distutils- extra (2.27-1) unstable; urgency=low
python-
* auto.py: Cleaner approach to determine whether a module is locally auto.py, install_auto: Use os.walk() instead of .filelist. findall( ) to pick out symlinks, as the latter fails command/ build_icons. py: Ignore symbolic links. distutils auto.py: Put back "except .. as" syntax, now that we
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/
distutils
badly with broken symlinks.
- DistUtilsExtra/
breaks on them when they point to a nonexisting target, and we handle
them in auto.py.
* DistUtilsExtra/
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 <email address hidden> Sun, 22 May 2011 13:55:08 +0000