Mercurial > hg
changeset 15493:8504699d1aa6
setup: hgbuildmo inherits from Command
hgbuildmo does not need anything provided by the build class.
author | Simon Heimberg <simohe@besonet.ch> |
---|---|
date | Tue, 01 Nov 2011 20:13:53 +0100 |
parents | 36f076d03b34 |
children | 7a7a1c594daf |
files | setup.py |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/setup.py Sat Nov 12 02:07:55 2011 +0100 +++ b/setup.py Tue Nov 01 20:13:53 2011 +0100 @@ -192,7 +192,7 @@ sub_commands = [('build_mo', None), ] + build.sub_commands -class hgbuildmo(build): +class hgbuildmo(Command): description = "build translations (.mo files)" @@ -222,6 +222,12 @@ self.mkpath(join('mercurial', modir)) self.make_file([pofile], mobuildfile, spawn, (cmd,)) + def initialize_options(self): + pass + + def finalize_options(self): + pass + class hgdist(Distribution): pure = 0