Rename generate man page command

build_manpage is more obvious than create_manpage as most python
setuptools around generation of output ready for install are prefixed
with 'build_'.
This commit is contained in:
Darragh Bailey 2014-07-15 12:10:41 +01:00
parent da5338ffce
commit 555a9f13e3
3 changed files with 4 additions and 4 deletions

View File

@ -22,10 +22,10 @@ import argparse
from distutils.core import Command from distutils.core import Command
class CreateManpage(Command): class BuildManpage(Command):
user_options = [] user_options = []
command_name = 'create_manpage' command_name = 'build_manpage'
def initialize_options(self): def initialize_options(self):
from git_upstream import main from git_upstream import main

View File

@ -22,7 +22,7 @@ classifiers =
Operating System :: OS Independent Operating System :: OS Independent
[global] [global]
commands = create_manpage.CreateManpage commands = build_manpage.BuildManpage
[files] [files]
packages = packages =

View File

@ -19,7 +19,7 @@ commands =
python setup.py testr --coverage python setup.py testr --coverage
[testenv:doc] [testenv:doc]
commands = python setup.py create_manpage commands = python setup.py build_manpage
[testenv:venv] [testenv:venv]
commands = {posargs} commands = {posargs}