Skip to content

Commit d7501c3

Browse files
committed
Update documentation with info about setup.cfg
Change-Id: If87df1e6415d0b70b6605b1d89eda639fc44a0b6
1 parent bf3ee1e commit d7501c3

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

doc/source/commands.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,20 +41,19 @@ of Cliff's command.Command object.
4141
Command Entry Points
4242
--------------------
4343

44-
Commands are added to the client using distribute's entry points in ``setup.py``.
44+
Commands are added to the client using setuptools's entry points in ``setup.cfg``.
4545
There is a single common group ``openstack.cli`` for commands that are not versioned,
4646
and a group for each combination of OpenStack API and version that is
4747
supported. For example, to support Identity API v3 there is a group called
4848
``openstack.identity.v3`` that contains the individual commands. The command
4949
entry points have the form::
5050

51-
"verb_object=fully.qualified.module.vXX.object:VerbObject"
51+
verb_object = fully.qualified.module.vXX.object:VerbObject
5252

5353
For example, the 'list user' command fir the Identity API is identified in
54-
``setup.py`` with::
54+
``setup.cfg`` with::
5555

56-
'openstack.identity.v3': [
56+
openstack.identity.v3 =
5757
# ...
58-
'list_user=openstackclient.identity.v3.user:ListUser',
58+
list_user = openstackclient.identity.v3.user:ListUser
5959
# ...
60-
],

0 commit comments

Comments
 (0)