summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorMatthew Edmonds <edmondsw@us.ibm.com>2015-07-17 16:42:35 -0400
committerMatthew Edmonds <edmondsw@us.ibm.com>2015-08-10 15:20:52 +0000
commite67adc385ce6997249fbf70e9402264f758fc6f4 (patch)
treebc34af40d357fa9dff1d201b0226f437234c6c92 /setup.cfg
parent110cac181c52263037a1cd3821c0fb48835a2083 (diff)
downloadcinder-e67adc385ce6997249fbf70e9402264f758fc6f4.tar.gz
mark oslo.vmware as optional dependency
Driver-specific requirements are not hard requirements, since the choice of drivers is up to the operator. The oslo.vmware module is herein moved out of requirements.txt and instead listed as an optional dependency using the extras functionality in setup.cfg. A check is added to the vmdk driver to gracefully handle import errors if the vmdk driver is used and oslo.vmware is not found. Change-Id: I9b00edc38f0700304a1a164f0679a734f8701ebe Closes-Bug: #1475739
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index c7f7e5e26..f5190acd3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -25,6 +25,10 @@ setup-hooks =
packages =
cinder
+[extras]
+vmdk =
+ oslo.vmware>=1.16.0 # Apache-2.0
+
[entry_points]
cinder.scheduler.filters =
AvailabilityZoneFilter = cinder.openstack.common.scheduler.filters.availability_zone_filter:AvailabilityZoneFilter