[Distutils] Can't generate console script with buildout - even when using zc.recipe.egg
Anton Stonor
anton at headnet.dk
Tue Apr 1 21:28:38 CEST 2008
Jim Fulton wrote:
>> The RelStorage setup.py comes with this:
>>
>> scripts=['scripts/zodbconvert.py']
>>
>> but no "console_scripts" entry points (maybe that is needed?)
>
> Yes, buildout needs that. buildout only installs scripts declared as
> entry points. As you discovered, you can specify the entry points
> yourself. Buildout also needs the entry point to be importable from
> the egg. Unfortunately, old-style distutils script handling doesn't
> put the scripts in a place where they are importable.
Thanks for a quick and precise answer.
I'll poke Shane.
Anton
More information about the Distutils-SIG
mailing list