__init__.py 594 B

123456789101112131415161718
  1. __all__ = [
  2. 'alias', 'bdist_egg', 'bdist_rpm', 'build_ext', 'build_py', 'develop',
  3. 'easy_install', 'egg_info', 'install', 'install_lib', 'rotate', 'saveopts',
  4. 'sdist', 'setopt', 'test', 'install_egg_info', 'install_scripts',
  5. 'register', 'bdist_wininst', 'upload_docs', 'upload', 'build_clib',
  6. 'dist_info',
  7. ]
  8. from distutils.command.bdist import bdist
  9. import sys
  10. from setuptools.command import install_scripts
  11. if 'egg' not in bdist.format_commands:
  12. bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
  13. bdist.format_commands.append('egg')
  14. del bdist, sys