# HG changeset patch # User Jun Wu # Date 1498657741 25200 # Node ID 6ef5f0c95d643d114262f8c6689a6fc02adb0da7 # Parent 6c113a7dec52be38927b16962282ea660de0b03c setup: fix localhgenv It should return env as a dict instead of None. diff -r 6c113a7dec52 -r 6ef5f0c95d64 setup.py --- a/setup.py Tue Jun 27 17:24:31 2017 -0700 +++ b/setup.py Wed Jun 28 06:49:01 2017 -0700 @@ -227,6 +227,7 @@ # SystemRoot is required by Windows to load various DLLs. See: # https://bugs.python.org/issue13524#msg148850 env['SystemRoot'] = os.environ['SystemRoot'] + return env version = ''