Merge "Use extras for oslo.messaging dependency"
This commit is contained in:
commit
f72254bf6a
@ -13,6 +13,7 @@ Contents:
|
|||||||
|
|
||||||
middlewarearchitecture
|
middlewarearchitecture
|
||||||
audit
|
audit
|
||||||
|
installation
|
||||||
|
|
||||||
Related Identity Projects
|
Related Identity Projects
|
||||||
=========================
|
=========================
|
||||||
|
25
doc/source/installation.rst
Normal file
25
doc/source/installation.rst
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
==============
|
||||||
|
Installation
|
||||||
|
==============
|
||||||
|
|
||||||
|
Install using pip
|
||||||
|
-----------------
|
||||||
|
|
||||||
|
At the command line::
|
||||||
|
|
||||||
|
$ pip install keystonemiddleware
|
||||||
|
|
||||||
|
Or, if you want to use it in a virtualenvwrapper::
|
||||||
|
|
||||||
|
$ mkvirtualenv keystonemiddleware
|
||||||
|
$ pip install keystonemiddleware
|
||||||
|
|
||||||
|
Install optional dependencies
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
Certain keystonemiddleware features are only available if specific libraries
|
||||||
|
are available. These libraries can be installed using pip as well.
|
||||||
|
|
||||||
|
To install support for audit notifications::
|
||||||
|
|
||||||
|
$ pip install keystonemiddleware[audit_notifications]
|
7
releasenotes/notes/bug_1540115-677cf5016bc46348.yaml
Normal file
7
releasenotes/notes/bug_1540115-677cf5016bc46348.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- >
|
||||||
|
[`bug 1540115 <https://bugs.launchpad.net/keystonemiddleware/+bug/1540115>`_]
|
||||||
|
Optional dependencies can now be installed using `extras`. To install audit
|
||||||
|
related libraries, use ``pip install keystonemiddleware[audit_nofications]``.
|
||||||
|
Refer to keystonemiddleware documentation for further information.
|
@ -22,6 +22,10 @@ classifier =
|
|||||||
packages =
|
packages =
|
||||||
keystonemiddleware
|
keystonemiddleware
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
audit_notifications =
|
||||||
|
oslo.messaging>=5.2.0 # Apache-2.0
|
||||||
|
|
||||||
[global]
|
[global]
|
||||||
setup-hooks =
|
setup-hooks =
|
||||||
pbr.hooks.setup_hook
|
pbr.hooks.setup_hook
|
||||||
|
@ -11,7 +11,6 @@ mock>=2.0 # BSD
|
|||||||
pycrypto>=2.6 # Public Domain
|
pycrypto>=2.6 # Public Domain
|
||||||
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
|
||||||
oslotest>=1.10.0 # Apache-2.0
|
oslotest>=1.10.0 # Apache-2.0
|
||||||
oslo.messaging>=5.2.0 # Apache-2.0
|
|
||||||
reno>=1.8.0 # Apache2
|
reno>=1.8.0 # Apache2
|
||||||
requests-mock>=1.0 # Apache-2.0
|
requests-mock>=1.0 # Apache-2.0
|
||||||
sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
|
sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
|
||||||
@ -23,4 +22,3 @@ python-memcached>=1.56 # PSF
|
|||||||
|
|
||||||
# Bandit security code scanner
|
# Bandit security code scanner
|
||||||
bandit>=1.0.1 # Apache-2.0
|
bandit>=1.0.1 # Apache-2.0
|
||||||
|
|
||||||
|
1
tox.ini
1
tox.ini
@ -12,6 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
|
|||||||
|
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
.[audit_notifications]
|
||||||
commands = python setup.py testr --testr-args='{posargs}'
|
commands = python setup.py testr --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user