# HG changeset patch # User Yuya Nishihara # Date 2017-07-26 14:39:42 # Node ID a0bfcd08f5fe9918ef80a1e2698bfadf120d02a9 # Parent 025017423e532037e470e3e5e9b845cba5c4e710 setup: drop use of set literal so parsable on Python 2.6 Otherwise friendly error wouldn't be displayed. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -576,7 +576,7 @@ class hginstall(install): # Screen out egg related commands to prevent egg generation. But allow # mercurial.egg-info generation, since that is part of modern # packaging. - excl = {'bdist_egg'} + excl = set(['bdist_egg']) return filter(lambda x: x not in excl, install.get_sub_commands(self)) class hginstalllib(install_lib):