[jhbuild] Don't set PYTHON
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Don't set PYTHON
- Date: Sat, 28 Jun 2014 14:56:39 +0000 (UTC)
commit 1e99e210f3486ceb652adf6bb1e5f95da8abbdf3
Author: Ryan Lortie <desrt desrt ca>
Date: Thu Mar 13 09:35:28 2014 -0400
Don't set PYTHON
Setting PYTHON to a python2 interpreter prevents automake from being
able to find python3.
jhbuild/environment.py | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/jhbuild/environment.py b/jhbuild/environment.py
index ad6ae84..8eb2d11 100644
--- a/jhbuild/environment.py
+++ b/jhbuild/environment.py
@@ -242,9 +242,3 @@ def setup_env(prefix):
addpath('PYTHONPATH', pythonpath)
if not os.path.exists(pythonpath):
os.makedirs(pythonpath)
-
- # if there is a Python installed in JHBuild prefix, set it in PYTHON
- # environment variable, so it gets picked up by configure scripts
- # <http://bugzilla.gnome.org/show_bug.cgi?id=560872>
- if os.path.exists(os.path.join(prefix, 'bin', 'python')):
- os.environ['PYTHON'] = os.path.join(prefix, 'bin', 'python')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]