Kaydet (Commit) 8d893934 authored tarafından Your Name's avatar Your Name

setup.py update for nsl options

üst 6ddfe4de
...@@ -56,7 +56,7 @@ class Build(build): ...@@ -56,7 +56,7 @@ class Build(build):
build.run(self) build.run(self)
self.mkpath(self.build_base) self.mkpath(self.build_base)
if getConfig("NLS_SUPPORT"):
for in_file in IN_FILES: for in_file in IN_FILES:
name, ext = os.path.splitext(in_file) name, ext = os.path.splitext(in_file)
self.spawn(["intltool-merge", "-x", "po", in_file, os.path.join(self.build_base, name)]) self.spawn(["intltool-merge", "-x", "po", in_file, os.path.join(self.build_base, name)])
...@@ -64,6 +64,7 @@ class Build(build): ...@@ -64,6 +64,7 @@ class Build(build):
class BuildPo(build): class BuildPo(build):
def run(self): def run(self):
if getConfig("NLS_SUPPORT"):
build.run(self) build.run(self)
self.build_po() self.build_po()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment