From c7b66aada80c33f0c0a80c44e7b4554b81a7cf96 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 31 Jul 2020 23:26:02 +0530 Subject: [PATCH] Dont use calibre-debug to build pot files --- setup/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index efc619143b..8ffbeea684 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -137,7 +137,7 @@ class POT(Command): # {{{ def get_user_manual_docs(self): self.info('Generating translation templates for user_manual') base = tempfile.mkdtemp() - subprocess.check_call(['calibre-debug', self.j(self.d(self.SRC), 'manual', 'build.py'), 'gettext', base]) + subprocess.check_call([sys.executable, self.j(self.d(self.SRC), 'manual', 'build.py'), 'gettext', base]) tbase = self.j(self.TRANSLATIONS, 'manual') for x in os.listdir(base): if not x.endswith('.pot'):