Skip to content

Commit 5f65085

Browse files
committed
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>
1 parent 66f5fa1 commit 5f65085

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

doc/source/cli/commands.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Implementation
306306
--------------
307307

308308
The command structure is designed to support seamless addition of plugin
309-
command modules via ``setuptools`` entry points. The plugin commands must
309+
command modules via Python's *entry points* mechanism. The plugin commands must
310310
be subclasses of Cliff's ``command.Command`` object. See :ref:`plugins` for
311311
more information.
312312

doc/source/contributor/command-wrappers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ We do this with a message logged at WARNING level before any command output
77
is emitted.
88

99
OpenStackClient command classes are derived from the ``cliff`` classes.
10-
Cliff uses ``setuptools`` entry points for dispatching the parsed command
10+
Cliff uses Python's *entry points* mechanism for dispatching the parsed command
1111
to the respective handler classes. This lends itself to modifying the
1212
command execution at run-time.
1313

doc/source/contributor/plugins.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ Plugins
55
=======
66

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

1211
Adoption
1312
========

0 commit comments

Comments
 (0)