[Distutils] Bad tracebacks from packages installed using setuptools

Andreas Klöckner lists at informa.tiker.net
Mon May 12 19:27:25 CEST 2008

On Montag 12 Mai 2008, Phillip J. Eby wrote:
> At 12:16 PM 5/12/2008 -0400, Andreas Klöckner wrote:
> >- Some source files refer to their relative location in the build
> >directory of
> >their *own* package. Unsurprisingly, this is not found when an exception
> >occurs in user code that does not live in the package's base directory.
> >
> >- Whenever a file name is __init__.py, the PIL __init__.py gets picked up
> >instead of the corect file name. (nothing uses PIL in what generated the
> >above)
> >
> >What can I do to fix this? (setuptools 0.6c8 on 2.5)
> The first can only be fixed by installing files unzipped; 

I assume that this depends on core Python getting smarter about how it fetches 
these lines. Are there plans to address this?

> the second 
> I've never seen before and have no idea about.

Hmm, ok. I'll try and investigate at some point.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20080512/299f434f/attachment.pgp>

More information about the Distutils-SIG mailing list