[Distutils] [buildout[ How do I use stuff specified in the distutils.command entry_point?

Chris Withers chris at simplistix.co.uk
Tue Sep 8 18:19:25 CEST 2009


Hi All,

Sphinx, among others, provides command in this entry point.

With this buildout:

[buildout]
parts = sphinx

[sphinx]
recipe = zc.recipe.egg
eggs = sphinx

And based on the entry points listed here:

http://bitbucket.org/birkenfeld/sphinx/src/447109cf9b01/setup.py#cl-182

I'd expect to be able to do:

$ bin/buildout setup setup.py build_sphinx

But I get:

Running setup script 'setup.py'.
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: invalid command 'build_sphinx'

Any ideas?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list