# HG changeset patch # User Gábor Stefanik # Date 1477669468 -7200 # Node ID 0df215fba6cf27e6e1b574743cdf89d478dca2f9 # Parent 893be22cdb38523302123e0bdd63c3bc04ebc7eb setup: 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 893be22cdb38 -r 0df215fba6cf setup.py --- a/setup.py Fri Nov 11 07:01:27 2016 -0800 +++ b/setup.py Fri Oct 28 17:44:28 2016 +0200 @@ -168,7 +168,8 @@ # to not use any hgrc files and do no localization. env = {'HGMODULEPOLICY': 'py', 'HGRCPATH': '', - 'LANGUAGE': 'C'} + 'LANGUAGE': 'C', + 'PATH': ''} # make pypi modules that use os.environ['PATH'] happy if 'LD_LIBRARY_PATH' in os.environ: env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] if 'SystemRoot' in os.environ: