[Distutils] setuptools pain

Barry Warsaw barry at python.org
Fri Dec 28 21:36:27 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Dec 28, 2007, at 2:42 PM, Phillip J. Eby wrote:

> At 01:49 PM 12/28/2007 -0500, Barry Warsaw wrote:
>> Would it be possible to just print the traceback?
>
> You can set the DISTUTILS_DEBUG environment variable to get  
> tracebacks from distutils or setuptools.

Good to know, thanks.

>> This is the MacPorts version of Python, so I guess I have to shame
>> them for busting setuptools.  I ended up re-installing it manually to
>> make it happy again.  Your explanation about the root problem was
>> helpful in understanding that this was probably the right course of
>> action. :)  Maybe I'll try to figure out why the MacPorts version  
>> broke.
>
> They took out the 'site.py' file.  It's not optional.
>
>
>> The other thing I didn't understand is why I got a different error
>> message after the first "setup.py develop" and why it took deleting
>> mailman.egg-info to get the original error message back.  Maybe I
>> should look at the setuptools code more carefully. <wink>
>
> I'm guessing that your setup.py includes a source-finding entry  
> point.  When the .egg-info already exists, the entry point would get  
> called during the egg_info source manifest generation, and it's  
> apparently hitting a missing requirement.  When the .egg-info  
> doesn't exist, the entry point wouldn't get called.
>

Yep, thanks again.
- -Barry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQCVAwUBR3VeS3EjvBPtnXfVAQKM/QP+JkaWLWQ5jVjh9G6x2hSSIgl0F+8+JYk9
45HpJ8sTBiJKdjRqfjmITXm4T1EZRtgbPuqRzdgxYEIRBmEl0OHP0LGSCpSbMyxC
Hn/rdnbk/aqMRd8QvDLo3KtpSW/4Ek/A/CpbDxN5KufjPnBfYm5qLS6Bs8PoCAaU
BIb4y3PCNZY=
=4LmM
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list