[totem] build: Check for alternative pylint names first
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] build: Check for alternative pylint names first
- Date: Thu, 10 Aug 2017 09:18:50 +0000 (UTC)
commit d125affbc2e792d8cc626db964bcf5d57c7bb85e
Author: Bastien Nocera <hadess hadess net>
Date: Thu Aug 10 11:01:36 2017 +0200
build: Check for alternative pylint names first
So that weirdly named Python3-enabled pylint are detected first,
before we fallback to "pylint".
https://bugzilla.gnome.org/show_bug.cgi?id=786082
meson.build | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meson.build b/meson.build
index c041657..69cd2a1 100644
--- a/meson.build
+++ b/meson.build
@@ -219,7 +219,7 @@ if python_option != 'no'
python_version = r.stdout().split(' ')[1]
pygobject_dep = dependency('pygobject-3.0', version: '>= 2.90.3', required: false)
- pylint = find_program('pylint', required: false)
+ pylint = find_program('pylint-3', 'pylint3', 'pylint', required: false)
if python_version.version_compare(python_req_version) and pygobject_dep.found() and pylint.found()
have_python = true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]