# [PATCH] INSTALL: Add docs on how to use custom Python paths.

3 messages from 2015-08-31 to 2015-08-31. Participants: Ehsan Akhgari, Luke Diamand, Junio C Hamano.
Thread: https://gitlist.dev/t/40228

## Ehsan Akhgari, 2015-08-31 13:22

Subject: [PATCH] INSTALL: Add docs on how to use custom Python paths.
Message-ID: <1441027358-27245-1-git-send-email-ehsan@mozilla.com>
URL: https://gitlist.dev/e/1441027358-27245-1-git-send-email-ehsan%40mozilla.com

```
Signed-off-by: Ehsan Akhgari <ehsan@mozilla.com>
---
 INSTALL | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/INSTALL b/INSTALL
index ffb071e..5b7fe91 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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
-- 
2.4.0

```

## Luke Diamand, 2015-08-31 14:28

Subject: Re: [PATCH] INSTALL: Add docs on how to use custom Python paths.
Message-ID: <CAE5ih7-5giLEUK3BvVcQ_2zMZiBdumDE-8LRsQxFnOZacLktTQ@mail.gmail.com>
URL: https://gitlist.dev/e/CAE5ih7-5giLEUK3BvVcQ_2zMZiBdumDE-8LRsQxFnOZacLktTQ%40mail.gmail.com
In-Reply-To: <1441027358-27245-1-git-send-email-ehsan@mozilla.com>

```
On 31 August 2015 at 14:22, Ehsan Akhgari <ehsan@mozilla.com> wrote:
> Signed-off-by: Ehsan Akhgari <ehsan@mozilla.com>
> ---
>  INSTALL | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/INSTALL b/INSTALL
> index ffb071e..5b7fe91 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -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

Looks good to me.

Thanks
Luke

```

## Junio C Hamano, 2015-08-31 14:53

Subject: Re: [PATCH] INSTALL: Add docs on how to use custom Python paths.
Message-ID: <xmqqr3mjy0e0.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqr3mjy0e0.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <1441027358-27245-1-git-send-email-ehsan@mozilla.com>

```
Ehsan Akhgari <ehsan@mozilla.com> writes:

> Signed-off-by: Ehsan Akhgari <ehsan@mozilla.com>
> ---
>  INSTALL | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/INSTALL b/INSTALL
> index ffb071e..5b7fe91 100644
> --- a/INSTALL
> +++ b/INSTALL
> @@ -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

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.

```
