diff options
author | PJ Eby <distutils-sig@python.org> | 2005-07-24 22:47:06 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-07-24 22:47:06 +0000 |
commit | 1c40632b88d76aea178e751483645ec3d32c81d9 (patch) | |
tree | 2cc3fa1af58200d5199b30771053c527ef91bd93 /setuptools/command/__init__.py | |
parent | 8618cfa8ac93431ffcede4f3987b559449bbbcb8 (diff) | |
download | external_python_setuptools-1c40632b88d76aea178e751483645ec3d32c81d9.tar.gz external_python_setuptools-1c40632b88d76aea178e751483645ec3d32c81d9.tar.bz2 external_python_setuptools-1c40632b88d76aea178e751483645ec3d32c81d9.zip |
Implement "entry points" for dynamic discovery of drivers and plugins.
Change setuptools to discover setup commands using an entry point group
called "distutils.commands". Thanks to Ian Bicking for the suggestion that
led to designing this super-cool feature.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041152
Diffstat (limited to 'setuptools/command/__init__.py')
-rw-r--r-- | setuptools/command/__init__.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/setuptools/command/__init__.py b/setuptools/command/__init__.py index 29f3000d..a58b5344 100644 --- a/setuptools/command/__init__.py +++ b/setuptools/command/__init__.py @@ -1,17 +1,10 @@ -import distutils.command - __all__ = [ - 'test', 'develop', 'bdist_egg', 'saveopts', 'setopt', 'rotate', 'alias' + 'alias', 'bdist_egg', 'build_ext', 'build_py', 'depends', 'develop', + 'easy_install', 'egg_info', 'install', 'install_lib', 'rotate', 'saveopts', + 'sdist', 'setopt', 'test', 'upload', ] -# Make our commands available as though they were part of the distutils - -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: |