Merge "Remove text about OSC as a plugin requirement"
This commit is contained in:
commit
91f7451180
@ -190,12 +190,15 @@ unit tests for the plugin commands:
|
|||||||
Requirements
|
Requirements
|
||||||
------------
|
------------
|
||||||
|
|
||||||
OSC must be included in ``requirements.txt`` or ``test-requirements.txt``
|
OSC should be included in the plugin's ``test-requirements.txt`` if
|
||||||
for the plugin project. Update ``requirements.txt`` if the plugin project
|
the plugin can be installed as a library with the CLI being an
|
||||||
considers the CLI a required feature. Update ``test-requirements.txt`` if
|
|
||||||
the plugin project can be installed as a library with the CLI being an
|
|
||||||
optional feature (available when OSC is also installed).
|
optional feature (available when OSC is also installed).
|
||||||
|
|
||||||
|
OSC should not appear in ``requirements.txt`` unless the plugin project
|
||||||
|
wants OSC and all of its dependencies installed with it. This is
|
||||||
|
specifically not a good idea for plugins that are also libraries
|
||||||
|
installed with OpenStack services.
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
||||||
python-openstackclient>=X.Y.Z # Apache-2.0
|
python-openstackclient>=X.Y.Z # Apache-2.0
|
||||||
|
Loading…
Reference in New Issue
Block a user