summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-07-05 22:30:54 -0400
committerMonty Taylor <mordred@inaugust.com>2013-07-05 22:30:54 -0400
commitd7501c352dc95360ba9b432cdec1f1b8b822b0e6 (patch)
treebc5335ed32533ee8faed9903fe6b9859d3c24b03 /doc/source
parentbf3ee1e9a5e7af4975571b2040659071ec08dcd7 (diff)
downloadpython-openstackclient-d7501c352dc95360ba9b432cdec1f1b8b822b0e6.tar.gz
Update documentation with info about setup.cfg
Change-Id: If87df1e6415d0b70b6605b1d89eda639fc44a0b6
Diffstat (limited to 'doc/source')
-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
# ...
- ],