setup: hgbuildmo inherits from Command
hgbuildmo does not need anything provided by the build class.
--- 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