[Distutils] Setuptools: omit namespace package directories?

Jim Fulton jim at zope.com
Fri Feb 9 21:42:15 CET 2007


On Feb 9, 2007, at 3:33 PM, Phillip J. Eby wrote:

> At 01:21 PM 2/9/2007 -0500, Jim Fulton wrote:
>> I really don't fathom --single-version-externally-managed. :)
>
> It's the same as good old distutils "install" -- with a couple of  
> additions.

Yeah, but I don't fathom distutils either. ;)

> The additions are that an .egg-info directory is installed  
> alongside the package(s), and if there are namespace packages  
> involved, a .pth file is also added.
>
>
>> Where is this .pth file created?
>
> In site-packages (or whatever the effective --install-lib target  
> directory is).

This makes this approach uninteresting for buildout, which doesn't  
write to site-packages or have any site-packages equivalent.

It sound like it also violates the egg promise that you just have to  
put the egg in sys.path for it to be useable.  buildout relies on  
this promise.

...

>> I kinda doubt I understand this enough to pursue it.  In any case, I
>> won't have time until after PyCon.  I may ask you more about  this
>> there (assuming that you'll be there.)
>
> No, I'm not going this year.

Darn.  We'll miss you.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Distutils-SIG mailing list