__init__.py 396 B

123456789101112
  1. from distutils.command.bdist import bdist
  2. import sys
  3. if 'egg' not in bdist.format_commands:
  4. try:
  5. bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file")
  6. except TypeError:
  7. # For backward compatibility with older distutils (stdlib)
  8. bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
  9. bdist.format_commands.append('egg')
  10. del bdist, sys