codekingpro/portable-devtools
114k
1from distutils.command.bdist import bdist2import sys3 4if 'egg' not in bdist.format_commands:5 try:6 bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file")7 except TypeError:8 # For backward compatibility with older distutils (stdlib)9 bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")10 bdist.format_commands.append('egg')11 12del bdist, sys13 