Skip to contentSkip to conversation

INSTALL: Add docs on how to use custom Python paths.

PATCH In review Ehsan Akhgari 3 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 INSTALL: Add docs on how to use custom Python paths.

---
 INSTALL | 5 +++++
 1 file changed, 5 insertions(+)
INSTALL +5 -0
index ffb071e..5b7fe91 100644
@@ -148,6 +148,11 @@ Issues of note:
 	  supported by Perforce) is needed to use the git-p4 interface
 	  to Perforce.
 
+	  By default, git looks for Python installed in /usr/bin/python.
+	  On systems with a different Python installation path, pass the
+	  --with-python argument to configure, or set the PYTHON_PATH
+	  environment variable when using make to build.
+
  - Some platform specific issues are dealt with Makefile rules,
    but depending on your specific installation, you may not
    have all the libraries/tools needed, or you may have
Signature · 1 line
2.4.0
#1 lore raw
Quoted 11 lines · Ehsan Akhgari
---
 INSTALL | 5 +++++
 1 file changed, 5 insertions(+)
INSTALL +0 -0
index ffb071e..5b7fe91 100644
@@ -148,6 +148,11 @@ Issues of note:
          supported by Perforce) is needed to use the git-p4 interface

INSTALL Issues of note: · line 158

Quoted 10 lines
INSTALL +5 -0
          to Perforce.
 
+         By default, git looks for Python installed in /usr/bin/python.
+         On systems with a different Python installation path, pass the
+         --with-python argument to configure, or set the PYTHON_PATH
+         environment variable when using make to build.
+
  - Some platform specific issues are dealt with Makefile rules,
    but depending on your specific installation, you may not
    have all the libraries/tools needed, or you may have

Looks good to me.

Thanks
Luke

#2 lore raw
In reply to Ehsan Akhgari
Quoted 11 lines · Ehsan Akhgari
---
 INSTALL | 5 +++++
 1 file changed, 5 insertions(+)
INSTALL +0 -0
index ffb071e..5b7fe91 100644
@@ -148,6 +148,11 @@ Issues of note:
 	  supported by Perforce) is needed to use the git-p4 interface

INSTALL Issues of note: · line 158

Quoted 10 lines
INSTALL +5 -0
 	  to Perforce.
 
+	  By default, git looks for Python installed in /usr/bin/python.
+	  On systems with a different Python installation path, pass the
+	  --with-python argument to configure, or set the PYTHON_PATH
+	  environment variable when using make to build.
+
  - Some platform specific issues are dealt with Makefile rules,
    but depending on your specific installation, you may not
    have all the libraries/tools needed, or you may have

Thanks for a patch, but I doubt that it is a good idea to do this.

The paragraph we see in the post-context of your patch is meant to cover it, together with 47 other platform specific locations like SHELL_PATH, PERL_PATH, CURLDIR, etc.