On Mon, Nov 24, 2008 at 2:28 PM, Hans-Peter Locher
<[EMAIL PROTECTED]> wrote:
> Hello Rok,
> Thanks for the new release of sphinxbuilder,
> I'm trying to get some documentation done using it but seem to fail
> according to some misunderstanding I think.
> I have a buildout containing some develop eggs like
> some.strange.package
> and I updated the packages setup.py using an collective.recipe.sphinxbuilder
> entry point.
> my sphinxbuilder section looks like this:
> [sphinxbuilder]
> recipe = collective.recipe.sphinxbuilder
> copyright = XXX
> project_doc_texescaped = XXX
> author_texescaped = Hans-Peter Locher
> eggs = some.strange.package
> running my buildout the collective.recipe.sphinxbuilder recipe fails to
> install:
>   File
> "/Users/hplocher/develop/zf3/project/buildout/src/collective.recipe.sphinxbuilder/trunk/collective/recipe/sphinxbuilder/__init__.py",
> line 64, in install
>     entry_point = entry_point['default'].load()
>   File
> "/opt/local/lib/python2.4/site-packages/setuptools-0.6c8-py2.4.egg/pkg_resources.py",
> line 1912, in load
>     entry = __import__(self.module_name, globals(),globals(), ['__name__'])
> ImportError: No module named some.strange.package
> It seems as I need to install each egg and it's dependencies into the global
> site-packages to make the recipe work for my eggs,
> Is this the procedure to follow or needs the recipe a makeover to include
> develop eggs into the path?
> Thanks for your help.
> Best regards

i see you already added that two configuration attributes that are
needed for sphinx0.5.  i will realease updated sphinxbuilder and pin
it to sphinx==0.5

yes you need to have egg you wish to document in the path. you can
also add it to eggs under collective.recipe.sphinxbuilder section.
i dont know why would it need a makeover, but if you have any fresh
ideas lets discuss it.

your above example should work. can you paste entry_points from
setup.py of your some.strange.package?

-- 
Rok Garbas
http://sharbas.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to