From 555a9f13e3b565b5c003fbfd5b6ff65e4ef4ba0c Mon Sep 17 00:00:00 2001 From: Darragh Bailey Date: Tue, 15 Jul 2014 12:10:41 +0100 Subject: [PATCH] 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_'. --- create_manpage.py => build_manpage.py | 4 ++-- setup.cfg | 2 +- tox.ini | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename create_manpage.py => build_manpage.py (98%) diff --git a/create_manpage.py b/build_manpage.py similarity index 98% rename from create_manpage.py rename to build_manpage.py index 114a9b3..b41939b 100644 --- a/create_manpage.py +++ b/build_manpage.py @@ -22,10 +22,10 @@ import argparse from distutils.core import Command -class CreateManpage(Command): +class BuildManpage(Command): user_options = [] - command_name = 'create_manpage' + command_name = 'build_manpage' def initialize_options(self): from git_upstream import main diff --git a/setup.cfg b/setup.cfg index 9e7d196..85881fe 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,7 +22,7 @@ classifiers = Operating System :: OS Independent [global] -commands = create_manpage.CreateManpage +commands = build_manpage.BuildManpage [files] packages = diff --git a/tox.ini b/tox.ini index 08aab87..76d2630 100644 --- a/tox.ini +++ b/tox.ini @@ -19,7 +19,7 @@ commands = python setup.py testr --coverage [testenv:doc] -commands = python setup.py create_manpage +commands = python setup.py build_manpage [testenv:venv] commands = {posargs}