Add optional 'fixture' dependencies.
Add extra 'fixture' section so that projects needing to use oslo_log.fixture can add 'oslo.log [fixture]' to their requirements to install the fixture dependencies Closes-Bug: #1493976 Change-Id: I67f3f59c50627a41b672928d037a7bd9997caa11
This commit is contained in:
parent
f718919c45
commit
362f329bcf
@ -5,3 +5,8 @@ Installation
|
|||||||
At the command line::
|
At the command line::
|
||||||
|
|
||||||
$ pip install oslo.log
|
$ pip install oslo.log
|
||||||
|
|
||||||
|
To use ``oslo_log.fixture``, some additional dependencies
|
||||||
|
are needed. They can be installed using the ``fixtures`` extra::
|
||||||
|
|
||||||
|
$ pip install 'oslo.log[fixtures]'
|
||||||
|
@ -23,6 +23,10 @@ classifier =
|
|||||||
packages =
|
packages =
|
||||||
oslo_log
|
oslo_log
|
||||||
|
|
||||||
|
[extras]
|
||||||
|
fixtures =
|
||||||
|
fixtures>=1.3.1
|
||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
warnerrors = true
|
warnerrors = true
|
||||||
|
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
hacking<0.11,>=0.10.0
|
hacking<0.11,>=0.10.0
|
||||||
|
|
||||||
discover
|
discover
|
||||||
fixtures>=1.3.1
|
|
||||||
python-subunit>=0.0.18
|
python-subunit>=0.0.18
|
||||||
testrepository>=0.0.18
|
testrepository>=0.0.18
|
||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
|
1
tox.ini
1
tox.ini
@ -14,6 +14,7 @@ setenv =
|
|||||||
VIRTUAL_ENV={envdir}
|
VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
-e.[fixtures]
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user