[gtk: 1/4] build: Use python3 for the post install script
- From: Nirbheek Chauhan <nirbheekc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/4] build: Use python3 for the post install script
- Date: Wed, 27 Feb 2019 14:46:47 +0000 (UTC)
commit 69251d051ae267e66f0f83e748ce7265230ee6db
Author: Jordan Petridis <jpetridis gnome org>
Date: Mon Feb 25 07:09:35 2019 +0200
build: Use python3 for the post install script
While *some* systems alias python to python3 nowdays, this is
not true for eveything. Especially systems that can potentially
offer both python2 and python3.
According to both PEP 394 and PEP 441 its recommended to always
add the 3 in the shebang.
build-aux/meson/post-install.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py
index f84b1971f5..b66961c02b 100644
--- a/build-aux/meson/post-install.py
+++ b/build-aux/meson/post-install.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import sys
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]