[Distutils] [zc.buildout] confusion from "work on a package" section
chris at simplistix.co.uk
Tue Jul 15 22:25:07 CEST 2008
Jim Fulton wrote:
> On Jul 15, 2008, at 4:08 PM, Chris Withers wrote:
>> Can someone walk me through like the idiot I feel right now why having
>> "develop = ." results in src/zc/ngi/ ending up on the python path?
> It doesn't. It results, in the case of zc.ngi, in src being on the
> Python path.
Okay, but how? I don't see any mention of 'src' in any of the config...
> The develop option takes one or more paths, separated by spaces. :)
> Each path should point to a setup script or to a directory containing
> one. Each setup script is run in "develop" mode
What does this mean?
> creating a "develop"
> egg which is just a file containing the path to a project's sourc
> directory. This directory is added to the path. Note that the project's
> source directory is controlled by the setup script. It need not be a src
> subdirectory of a project.
Ah, okay, hmmm, to be honest using an example that's not in the docs
makes this less clear than it should be. It's only now that I read
http://svn.zope.org/zc.ngi/trunk/setup.py?rev=76019&view=auto that I see
Thanks for replying though, I feel like the fog is giving a good 3 feet
of visibility now ;-)
Simplistix - Content Management, Zope & Python Consulting
More information about the Distutils-SIG