[PATCH 4 of 7] setup: hgbuildmo inherits from Command
Simon Heimberg
simohe at besonet.ch
Tue Nov 8 16:36:10 CST 2011
# HG changeset patch
# User Simon Heimberg <simohe at besonet.ch>
# Date 1320174833 -3600
# Node ID 287a7c88281cbe54abb385305ba188afdaa8e1fe
# Parent 9fc70a870523c5fb877ab7bd265d5ff915dda9ab
setup: hgbuildmo inherits from Command
diff -r 9fc70a870523 -r 287a7c88281c setup.py
--- a/setup.py Die Nov 01 20:13:53 2011 +0100
+++ b/setup.py Die 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
More information about the Mercurial-devel
mailing list