Hi there,

I was hoping a buildout guru could give a hand on this one:

The "RelStorage" package comes as an egg and installing it in a buildout 
environment works fine.

However I can't find a way to let buildout generate the zodbconvert 
console script that comes with RelStorage.

easy_install RelStorage adds the script fine.

I know you should use zc.recipe.egg in this case, but no result.

The RelStorage setup.py comes with this:

scripts=['scripts/zodbconvert.py']

but no "console_scripts" entry points (maybe that is needed?)

I found a kind-of workaround:

entry-points = zodbconvert=zodbconvert:main
extra-paths = 
/home/stonor/projects/mybuildout/eggs/RelStorage-1.0.1-py2.4.egg/EGG-INFO/scripts

But it is annoying to hard code the path to 
RelStorage-1.0.1-py2.4.egg/EGG-INFO/scripts.

Is there a way to dynamically look up the path to an egg with bulidout 
or a another way to solve my issue?

/Anton Stonor

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

Reply via email to