[jhbuild/wip/path-env: 17/22] Don't set PYTHON
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/wip/path-env: 17/22] Don't set PYTHON
- Date: Sat, 28 Jun 2014 13:57:27 +0000 (UTC)
commit b07639be79bdfc10908ac29041734e68908168a1
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]