[Distutils] [issue89] easy_install silently drop symlinks when auto-extracting tarball source distributions

Max Bowsher setuptools at bugs.python.org
Sun Nov 1 12:00:42 CET 2009


New submission from Max Bowsher <maxb at f2s.com>:

Trying to determine why pytz installed by easy_install was broken, I located the
following problem:

When setuptools extracts a tarball source dist to install it, it silently drops
any tar members which are neither files or directories. The problem is in
archive_util.py which specifically tests "if member.isfile() or
member.isdir():". I am uncertain why it would try to do this, but it is fatally
incorrect to do so when the software being unpacked includes symlinks as a
functional part of its sourcecode, as pytz does.

----------
messages: 444
nosy: maxb
priority: bug
status: unread
title: easy_install silently drop symlinks when auto-extracting tarball source distributions

_______________________________________________
Setuptools tracker <setuptools at bugs.python.org>
<http://bugs.python.org/setuptools/issue89>
_______________________________________________


More information about the Distutils-SIG mailing list