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):
build.run(self)
self.mkpath(self.build_base)
if getConfig("NLS_SUPPORT"):
for in_file in IN_FILES:
name, ext = os.path.splitext(in_file)
self.spawn(["intltool-merge", "-x", "po", in_file, os.path.join(self.build_base, name)])
......@@ -64,6 +64,7 @@ class Build(build):
class BuildPo(build):
def run(self):
if getConfig("NLS_SUPPORT"):
build.run(self)
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