# HG changeset patch # User Simon Heimberg # Date 1320174833 -3600 # Node ID 8504699d1aa6a597784fffc0590a56ffe884bdbe # Parent 36f076d03b34155294b09e012b4f7c7de051ca25 setup: hgbuildmo inherits from Command hgbuildmo does not need anything provided by the build class. diff -r 36f076d03b34 -r 8504699d1aa6 setup.py --- 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