From ccdedb3564dc89e337c042e190e3f6a188192dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Safa=20Ar=C4=B1man?= Date: Wed, 21 Aug 2019 20:31:12 +0300 Subject: [PATCH] fix setup.py install script which compiles and copies translations in the correct order --- pisi/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pisi/__init__.py b/pisi/__init__.py index f7d990ba..74fcdd84 100644 --- a/pisi/__init__.py +++ b/pisi/__init__.py @@ -19,7 +19,7 @@ import logging import logging.handlers from importlib import reload -__version__ = "3.0a1" +__version__ = "3.0.0-alpha1" __all__ = [ 'api', 'configfile', 'db'] diff --git a/setup.py b/setup.py index bfecf49d..c204f814 100755 --- a/setup.py +++ b/setup.py @@ -104,7 +104,7 @@ class Install(install): continue lang = name[:-3] print("Installing '%s' translations..." % lang) - os.popen("msgfmt po/%s.po -o po/%s.mo" % (lang, lang)) + os.system("msgfmt po/%s.po -o po/%s.mo" % (lang, lang)) if not self.root: self.root = "/" destpath = os.path.join(self.root, "usr/share/locale/%s/LC_MESSAGES" % lang)