changeset 2210:c5562f2a893c

quickinstall: Again create catalogs for translations
author Bastian Blank <bblank@thinkmo.de>
date Wed, 16 Oct 2013 06:54:22 +0200
parents 88ec5e5d18aa
children 69db40714019
files quickinstall.py
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/quickinstall.py	Tue Oct 15 21:18:45 2013 -0700
+++ b/quickinstall.py	Wed Oct 16 06:54:22 2013 +0200
@@ -19,6 +19,7 @@
     def __call__(self):
         self.do_venv()
         self.do_install()
+        self.do_catalog()
 
         sys.stdout.write('''
 Succesfully created or updated venv
@@ -41,6 +42,13 @@
             self.dir_source
         ))
 
+    def do_catalog(self):
+        subprocess.check_call((
+            os.path.join(self.dir_venv, 'bin', 'python'),
+            os.path.join(self.dir_source, 'setup.py'),
+            'compile_catalog', '--statistics',
+        ))
+
 
 if __name__ == '__main__':
     logging.basicConfig(level=logging.INFO)