diff roundup/dist/command/build.py @ 5450:f2fade4552c5

replaced msgfmt.py with latest version supporting Python 3 fixed setup scripts for Python 3
author Christof Meerwald <cmeerw@cmeerw.org>
date Sat, 21 Jul 2018 16:29:20 +0100
parents 64b05e24dbd8
children 42bf0a707763
line wrap: on
line diff
--- a/roundup/dist/command/build.py	Thu Jul 19 22:24:12 2018 +0100
+++ b/roundup/dist/command/build.py	Sat Jul 21 16:29:20 2018 +0100
@@ -49,7 +49,8 @@
         _build_dst = os.path.join("build", _dst)
         command.mkpath(os.path.dirname(_build_dst))
         command.announce("Compiling %s -> %s" % (_src, _build_dst))
-        msgfmt.make(_src, _build_dst)
+        mo = msgfmt.Msgfmt(_src).get()
+        open(_build_dst, 'wb').write(mo)
 
 
 class build(base):

Roundup Issue Tracker: http://roundup-tracker.org/