Op 01-09-11 07:29, Guruprasad schreef:
Hi,
On Wed, Aug 31, 2011 at 6:01 PM, Maurits van Rees
<[email protected]>  wrote:
It looks to me like src/wsb is not actually used.  You tell buildout that it
can find a development package in src/wsb if it wants to, but I do not see a
section that actually wants to use a package with that name.

Here is my buildout.cfg
<snip>
[buildout]
extensions = mr.developer
auto-checkout = wsb
develop = src/wsb
eggs = wsb
parts = django

[sources]
wsb = hg<repository URL>

[django]
recipe=djangorecipe
projectegg = wsb
extra-paths = src/
settings = settings

I reproduced your setup. The problems is indeed that src/wsb is not actually used, or perhaps better said: the package there is not installed in the buildout. This is because djangorecipe does not actually know that it needs to install the wsb package. Maybe it should, as you do have the line 'projectegg = wsb'.

For me it works when I add 'eggs = ${buildout:eggs}' to the recipe, so like this:

[django]
recipe=djangorecipe
projectegg = wsb
eggs = ${buildout:eggs}
extra-paths = src/
settings = settings

(Or explicitly: eggs = wsb)

The difference in the resulting bin/django script is that these two extra lines are added to the path:

  '.../tmp/guru/src/wsb',
  '.../recaptcha_client-1.0.6-py2.6.egg',


I hope this helps,

--
Maurits van Rees
Web App Programmer at Zest Software: http://zestsoftware.nl
Personal website: http://maurits.vanrees.org/

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to