setup.py
branchstable
changeset 33589 a0bfcd08f5fe
parent 33588 025017423e53
child 33591 ee11d18fcd3c
equal deleted inserted replaced
33588:025017423e53 33589:a0bfcd08f5fe
   574 
   574 
   575     def get_sub_commands(self):
   575     def get_sub_commands(self):
   576         # Screen out egg related commands to prevent egg generation.  But allow
   576         # Screen out egg related commands to prevent egg generation.  But allow
   577         # mercurial.egg-info generation, since that is part of modern
   577         # mercurial.egg-info generation, since that is part of modern
   578         # packaging.
   578         # packaging.
   579         excl = {'bdist_egg'}
   579         excl = set(['bdist_egg'])
   580         return filter(lambda x: x not in excl, install.get_sub_commands(self))
   580         return filter(lambda x: x not in excl, install.get_sub_commands(self))
   581 
   581 
   582 class hginstalllib(install_lib):
   582 class hginstalllib(install_lib):
   583     '''
   583     '''
   584     This is a specialization of install_lib that replaces the copy_file used
   584     This is a specialization of install_lib that replaces the copy_file used