On Thu, Sep 3, 2009 at 11:46 AM, Reinout van Rees<[email protected]> wrote: > On 2009-09-02, Jim Fulton <[email protected]> wrote: >> >> Note that, as Tarek reminded us, buildout lets you define entry points >> yourself. In fact, I happen to have done this for pyflakes myself a >> couple of weeks ago: >> >> [pyflakes] >> recipe = zc.recipe.egg >> eggs = pyflakes >> entry-points = pyflakes=pyflakes.scripts.pyflakes:main > > That's much shorter than the one I've been using, which makes it seem less > painful. Due to the way the docutils scripts are set up (without a clear > 'main()' method), this is much more painful.
Yeah, I ended up creating a wrapper package for docutuls. In fact, I should have mentioned it sooner: http://pypi.python.org/pypi/zc.rst2 You might find it useful. :) ... > What about making the problem explicit and doing something like: > > [distutilscripts] > recipe = zc.recipe.egg:distutils > eggs = > pyflakes > docutils > scripts = > scripts/pyflakes > tools/rst2html > tools/rst2s5 Something like that might work. Note that there is already a scripts option. Maybe: distutils-scripts = x y=z Jim -- Jim Fulton _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
