On Apr 29, 2008, at 3:40 AM, Andreas Jung wrote:



--On 29. April 2008 01:11:43 -0600 Shane Hathaway <[EMAIL PROTECTED] > wrote:

Anton Stonor wrote:
I'm about to give RelStorage a spin - it is looking promising.

However, it would be great if the zodbconvert.py could be buildout
friendly. What is needed is just to move zodbconvert.py inside the
relstorage package and define an entry point for it in the setup.py.

A few minutes ago, I created a new version of RelStorage, 1.1b1, and
uploaded it to pypi. I did as Jim suggested and put zodbconvert.py in
the relstorage package and created an entry point.

Unfortunately, my experiments with buildout still don't create the
"zodbconvert" script. AFAICT, buildout ignores the entry point I defined.

I've attached my buildout.cfg. Everything works except for the creation
of the zodbconvert script.  Any idea what I'm doing wrong?

You need something like that (scripts sections)

....
parts = python scripts test

[scripts]
recipe = zc.recipe.egg:scripts
eggs = ${config:mypkgs}


No, scripts is actually the default recipe, so zc.recipe.egg is the same as zc.recipoe.egg:scriots

Jim

--
Jim Fulton
Zope Corporation


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to