Merge "Use deps extra for optional requirements"

This commit is contained in:
Jenkins 2016-09-15 14:18:16 +00:00 committed by Gerrit Code Review
commit 1a53514b26
4 changed files with 14 additions and 6 deletions

View File

@ -13,7 +13,6 @@ kafka-python<1.0.0,>=0.9.5 # Apache-2.0
keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0 keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0
lxml>=2.3 # BSD lxml>=2.3 # BSD
msgpack-python>=0.4.0 # Apache-2.0 msgpack-python>=0.4.0 # Apache-2.0
oslo.db>=4.1.0 # Apache-2.0
oslo.concurrency>=3.5.0 # Apache-2.0 oslo.concurrency>=3.5.0 # Apache-2.0
oslo.config>=3.9.0 # Apache-2.0 oslo.config>=3.9.0 # Apache-2.0
oslo.i18n>=2.1.0 # Apache-2.0 oslo.i18n>=2.1.0 # Apache-2.0

View File

@ -31,6 +31,18 @@ packages =
data_files = data_files =
etc/ceilometer = etc/ceilometer/* etc/ceilometer = etc/ceilometer/*
[extras]
gnocchi =
gnocchiclient>=2.2.0 # Apache-2.0
mongo =
pymongo!=3.1,>=3.0.2 # Apache-2.0
postgresql =
oslo.db>=4.1.0 # Apache-2.0
psycopg2>=2.5 # LGPL/ZPL
mysql =
oslo.db>=4.1.0 # Apache-2.0
PyMySQL>=0.6.2 # MIT License
[entry_points] [entry_points]
ceilometer.notification = ceilometer.notification =
instance = ceilometer.compute.notifications.instance:Instance instance = ceilometer.compute.notifications.instance:Instance

View File

@ -8,7 +8,6 @@ elasticsearch>=1.3.0 # Apache-2.0
fixtures<2.0,>=1.3.1 # Apache-2.0/BSD fixtures<2.0,>=1.3.1 # Apache-2.0/BSD
happybase!=0.7,>=0.5,<1.0.0;python_version=='2.7' # MIT happybase!=0.7,>=0.5,<1.0.0;python_version=='2.7' # MIT
mock>=1.2 # BSD mock>=1.2 # BSD
PyMySQL>=0.6.2 # MIT License
os-win>=0.2.3 # Apache-2.0 os-win>=0.2.3 # Apache-2.0
oslo.cache>=1.5.0 # Apache-2.0 oslo.cache>=1.5.0 # Apache-2.0
# Docs Requirements # Docs Requirements
@ -17,9 +16,6 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
reno>=1.6.2 # Apache2 reno>=1.6.2 # Apache2
oslotest>=1.10.0 # Apache-2.0 oslotest>=1.10.0 # Apache-2.0
oslo.vmware>=1.16.0 # Apache-2.0 oslo.vmware>=1.16.0 # Apache-2.0
psycopg2>=2.5 # LGPL/ZPL
pymongo!=3.1,>=3.0.2 # Apache-2.0
gnocchiclient>=2.2.0 # Apache-2.0
python-subunit>=0.0.18 # Apache-2.0/BSD python-subunit>=0.0.18 # Apache-2.0/BSD
sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
sphinxcontrib-httpdomain # BSD sphinxcontrib-httpdomain # BSD

View File

@ -4,8 +4,9 @@ skipsdist = True
envlist = py34,py27,py35,functional,py34-functional,py35-functional,pep8 envlist = py34,py27,py35,functional,py34-functional,py35-functional,pep8
[testenv] [testenv]
deps = -r{toxinidir}/requirements.txt deps = .[mongo,mysql,postgresql,gnocchi]
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages} install_command = pip install -U {opts} {packages}
usedevelop = True usedevelop = True
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}