You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
554 B

  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',
  6. ]
  7. from distutils.command.bdist import bdist
  8. import sys
  9. from setuptools.command import install_scripts
  10. if 'egg' not in bdist.format_commands:
  11. bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
  12. bdist.format_commands.append('egg')
  13. del bdist, sys