diff options
Diffstat (limited to 'setuptools/command/__init__.py')
| -rw-r--r-- | setuptools/command/__init__.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/setuptools/command/__init__.py b/setuptools/command/__init__.py index 86263cfb..f9c5b19b 100644 --- a/setuptools/command/__init__.py +++ b/setuptools/command/__init__.py @@ -1,6 +1,6 @@ import distutils.command -__all__ = ['test', 'depends'] +__all__ = ['test', 'depends', 'bdist_egg'] # Make our commands available as though they were part of the distutils @@ -9,3 +9,11 @@ distutils.command.__path__.extend(__path__) distutils.command.__all__.extend( [cmd for cmd in __all__ if cmd not in distutils.command.__all__] ) + +from distutils.command.bdist import bdist + +if 'egg' not in bdist.format_commands: + bdist.format_command['egg'] = ('bdist_egg', "Python .egg file") + bdist.format_commands.append('egg') + +del bdist |
