# HG changeset patch
# User Gábor Stefanik <gabor.stefa...@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.

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@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to