Remove references to setuptools

Newer versions of cliff and stevedore use importlib rather than
setuptools to work with entry points. Replace any references to
"setuptools' entry points mechanism" with "Python's entry points
mechanism".

Change-Id: Iae36155685ee37ab5e38a0c173110a5ece33d05d
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
Stephen Finucane 2020-10-22 09:52:57 +01:00
parent 66f5fa18d4
commit 5f650853f7
3 changed files with 4 additions and 5 deletions

@ -306,7 +306,7 @@ Implementation
-------------- --------------
The command structure is designed to support seamless addition of plugin The command structure is designed to support seamless addition of plugin
command modules via ``setuptools`` entry points. The plugin commands must command modules via Python's *entry points* mechanism. The plugin commands must
be subclasses of Cliff's ``command.Command`` object. See :ref:`plugins` for be subclasses of Cliff's ``command.Command`` object. See :ref:`plugins` for
more information. more information.

@ -7,7 +7,7 @@ We do this with a message logged at WARNING level before any command output
is emitted. is emitted.
OpenStackClient command classes are derived from the ``cliff`` classes. OpenStackClient command classes are derived from the ``cliff`` classes.
Cliff uses ``setuptools`` entry points for dispatching the parsed command Cliff uses Python's *entry points* mechanism for dispatching the parsed command
to the respective handler classes. This lends itself to modifying the to the respective handler classes. This lends itself to modifying the
command execution at run-time. command execution at run-time.

@ -5,9 +5,8 @@ Plugins
======= =======
The OpenStackClient plugin system is designed so that the plugin need only be The OpenStackClient plugin system is designed so that the plugin need only be
properly installed for OSC to find and use it. It utilizes the properly installed for OSC to find and use it. It utilizes Python's *entry
``setuptools`` entry points mechanism to advertise to OSC the points* mechanism to advertise to OSC the plugin module and supported commands.
plugin module and supported commands.
Adoption Adoption
======== ========