I would like to have a target (say docs) that runs epydoc for my package. I assume that I need to create a new command but I am not having much luck.
Has anyone done this before?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Babel project provides several commands for use in
setup.pyfiles.You need to define a
distutils.commandsentry point with commands; example from the Babelsetup.pyfile:where the extra commands are then available as
python setup.py commandname.The entry points point to subclasses of
from distutils.cmd import Command. Example again from Babel, from thebabel.messages.frontendmodule: