[PATCH STABLE] build: include a dummy $PATH in the custom environment used by build.py

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri Oct 28 13:03:29 EDT 2016



On 10/28/2016 05:55 PM, Gábor Stefanik wrote:
> # HG changeset patch
> # User Gábor Stefanik <gabor.stefanik at nng.com>
> # Date 1477669468 -7200
> #      Fri Oct 28 17:44:28 2016 +0200
> # Branch stable
> # Node ID 3cda0b069802af8b4dbdf9f5598965a522a566b3
> # Parent  3afde791dce192f38d8a228ed8e49397e353837e
> build: include a dummy $PATH in the custom environment used by build.py
>
> This is required for building with pypiwin32, the pip-installable replacement
> for pywin32.

What does the '.' value means here?

>
> diff -r 3afde791dce1 -r 3cda0b069802 setup.py
> --- a/setup.py	Thu Oct 27 20:06:33 2016 +0200
> +++ b/setup.py	Fri Oct 28 17:44:28 2016 +0200
> @@ -167,7 +167,8 @@
>  # to not use any hgrc files and do no localization.
>  env = {'HGMODULEPOLICY': 'py',
>         'HGRCPATH': '',
> -       'LANGUAGE': 'C'}
> +       'LANGUAGE': 'C',
> +       'PATH': '.'}
>  if 'LD_LIBRARY_PATH' in os.environ:
>      env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH']
>  if 'SystemRoot' in os.environ:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list