# HG changeset patch # User Matt Harbison # Date 2017-06-17 01:57:22 # Node ID 20fc5d39d0c1628ed04d08b4064a4fbf001f285f # Parent a7310a477966e95c4825cf7b6cd2b29b41a82a1c setup: update a comment that blamed py26 for a Windows workaround diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -176,9 +176,8 @@ env = {'HGMODULEPOLICY': 'py', if 'LD_LIBRARY_PATH' in os.environ: env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] if 'SystemRoot' in os.environ: - # Copy SystemRoot into the custom environment for Python 2.6 - # under Windows. Otherwise, the subprocess will fail with - # error 0xc0150004. See: http://bugs.python.org/issue3440 + # SystemRoot is required by Windows to load various DLLs. See: + # https://bugs.python.org/issue13524#msg148850 env['SystemRoot'] = os.environ['SystemRoot'] if os.path.isdir('.hg'):