changeset 15523:f9da84a950d0

setup: backout 8504699d1aa6 Change wasn't compatible with Python 2.x
author Matt Mackall <mpm@selenic.com>
date Thu, 17 Nov 2011 23:01:58 -0600
parents 646759147717
children e7119b091809
files setup.py
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Thu Nov 17 16:53:17 2011 -0600
+++ b/setup.py	Thu Nov 17 23:01:58 2011 -0600
@@ -210,7 +210,7 @@
                     ('build_ext', build.has_ext_modules),
                    ] + build.sub_commands
 
-class hgbuildmo(Command):
+class hgbuildmo(build):
 
     description = "build translations (.mo files)"
 
@@ -240,12 +240,6 @@
             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