[Distutils] setuptools bug: broken simlinks break setup()

Andrew Straw strawman at astraw.com
Mon Jun 25 21:23:00 CEST 2007


In setuptools 0.6c5, a broken symlink in the package tree will cause
'setup develop' to fail, even in the file is inconsequential for the
package. I think this is a bug.

Here is the output of running "python setup.py develop" in a package
called flydra with a broken symlink called broken.symlink:

running develop
running egg_info
writing flydra.egg-info/PKG-INFO
writing top-level names to flydra.egg-info/top_level.txt
writing dependency_links to flydra.egg-info/dependency_links.txt
writing entry points to flydra.egg-info/entry_points.txt
error: broken.symlink: No such file or directory

(I would try this using setuptools==dev, but it seems svn.python.org is
down, or at least my connection to it.)

-Andrew


More information about the Distutils-SIG mailing list