summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/source/commands.rst11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 40a24258..0c278d05 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -41,20 +41,19 @@ of Cliff's command.Command object.
Command Entry Points
--------------------
-Commands are added to the client using distribute's entry points in ``setup.py``.
+Commands are added to the client using setuptools's entry points in ``setup.cfg``.
There is a single common group ``openstack.cli`` for commands that are not versioned,
and a group for each combination of OpenStack API and version that is
supported. For example, to support Identity API v3 there is a group called
``openstack.identity.v3`` that contains the individual commands. The command
entry points have the form::
- "verb_object=fully.qualified.module.vXX.object:VerbObject"
+ verb_object = fully.qualified.module.vXX.object:VerbObject
For example, the 'list user' command fir the Identity API is identified in
-``setup.py`` with::
+``setup.cfg`` with::
- 'openstack.identity.v3': [
+ openstack.identity.v3 =
# ...
- 'list_user=openstackclient.identity.v3.user:ListUser',
+ list_user = openstackclient.identity.v3.user:ListUser
# ...
- ],