[totem/alatiera/flatpak-fixups: 5/5] meson_compile_python.py: call python3 for the subproccess
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/alatiera/flatpak-fixups: 5/5] meson_compile_python.py: call python3 for the subproccess
- Date: Fri, 12 Jul 2019 08:30:19 +0000 (UTC)
commit 0f4f73f7623bb5ebf553d8cc1a670b7875a479e6
Author: Jordan Petridis <jpetridis gnome org>
Date: Sun Jun 30 21:35:44 2019 +0300
meson_compile_python.py: call python3 for the subproccess
Python2 is no longer available in the GNOME Sdk.
meson_compile_python.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson_compile_python.py b/meson_compile_python.py
index 9e399c8e4..cb52bf58d 100644
--- a/meson_compile_python.py
+++ b/meson_compile_python.py
@@ -7,7 +7,7 @@ installdir = os.environ['MESON_INSTALL_PREFIX']
if not os.environ.get('DESTDIR'):
print('Byte-compiling python modules...')
- subprocess.call(['python', '-m', 'compileall', '-f', '-q', installdir])
+ subprocess.call(['python3', '-m', 'compileall', '-f', '-q', installdir])
print('Byte-compiling python modules (optimized versions) ...')
- subprocess.call(['python', '-O', '-m', 'compileall', '-f', '-q', installdir])
+ subprocess.call(['python3', '-O', '-m', 'compileall', '-f', '-q', installdir])
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]