[Grok-dev] Buildout configuration with development namespace package?

Uli Fouquet uli at gnufix.de
Sat May 16 03:39:15 EDT 2009


Hi Andreas,

Andreas Jung wrote:

> I have a namespace package zopyx.smartprintng.server containing my Grok
> code.
> 
> It is located (as development egg) under
> 
> <buildout_dir>/src/zopyx.smartprintng.server/zopyx/smartprintng/server/app.py
> ....
> 
> All other parts of the buildout structure are generated using grokproject.
> 
> I tried to adjust the generated buildout.cfg to my needs:
> 
> http://svn.zope.org/zopyx.smartprintng.server/buildout/trunk/buildout.cfg?rev=100007&view=auto
> 
> However I can not get buildout working:
> 
> ajung at suxmac2:~/src/svn.zope.org/zopyx.smartprintng.server/buildout/trunk bin/buildout
> 
> Develop:
> '/Users/ajung/src/svn.zope.org/zopyx.smartprintng.server/buildout/trunk/zopyx.smartprintng.server'
> unrecognized .svn/entries format in
> Unused options for buildout: 'download-directory'.
> Updating eggbasket.
> Installing app.
> Couldn't find index page for 'zopyx.smartprintng.server' (maybe misspelled?)
> Getting distribution for 'zopyx.smartprintng.server'.
> While:
>   Installing app.
>   Getting distribution for 'zopyx.smartprintng.server'.
> Error: Couldn't find a distribution for 'zopyx.smartprintng.server'.
> 
> Obviously I am missing something stupid?!

Did you try to replace in the [buildout] section

  develop =  zopyx.smartprintng.server

with 

  develop = .

As the setup.py of your package looks to be in ./ and not in a
zopyx.smartprintng.server/ directory, this would look more reasonable to
me.

Best regards,

-- 
Uli

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20090516/e79155e6/attachment.bin 


More information about the Grok-dev mailing list