[Distutils] develop egg recipe?

Phillip J. Eby pje at telecommunity.com
Sat Dec 2 17:29:08 CET 2006


At 08:50 AM 12/2/2006 -0500, Jim Fulton wrote:

>On Dec 1, 2006, at 10:26 PM, Nathan R. Yergler wrote:
>
> > I'm using zc.buildout for a project that also utilizes a custom egg-
> > info
> > writer.
>
>What is a custom egg-info writer? and why do you want one?

An egg-info writer allows you to generate files in .egg-info when the 
egg_info command is run.  See:

http://peak.telecommunity.com/DevCenter/setuptools#adding-new-egg-info-files



> >   Of course, that doesn't trigger zc.buildout (er,
> > setuptools) to install that egg when I run buildout.
>
>I wonder why. zc.buildout is just running the develop
>setup command.  Is the setup_requires feature not expected
>to work with the develop command?

No, it's expected to work with develop.  However, 'setup_requires' eggs are 
installed to the *setup directory*, not the installation target.  This is 
always the case for setup_requires eggs, actually.  So, if Nathan's 
"develop" is running (and invoking his egg_info writer), then everything is 
as expected.

However, if the egg_info writer isn't running during "develop", then 
something is indeed wrong.



More information about the Distutils-SIG mailing list