summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2021-12-22 16:25:19 +0000
committerStephen Finucane <stephenfin@redhat.com>2022-01-28 12:27:06 +0000
commit86d87be8db588cc3125d53cd92e271fb45b1a3aa (patch)
treeb8957bb2e54fefdf6b068cc0a94fb772a18ec5cc /setup.cfg
parentff1dbb5eb4525a5e63fb04daae1297e770688862 (diff)
downloadnova-86d87be8db588cc3125d53cd92e271fb45b1a3aa.tar.gz
Move optional build dependencies to 'extras'
...and start skipping the relevant tests in 'nova.tests.unit.virt' if these dependencies are not present. Thanks to hacking rules N311 and N312, which prevent virt drivers using code from other virt drivers, simply skipping the unit tests for a virt driver module is enough to ensure we never load those modules. This means users that want to use the powervm driver can install the required dependencies using e.g. 'pip install .[powervm]', and packagers can choose to skip packaging a dependency safe in the knowledge that the relevant tests will be skipped. Change-Id: I3787f9afd78cd0a7c7feb4dfe1bcb21437b5a128 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 3857fd5e47..99d7cdaf10 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -30,6 +30,14 @@ classifiers =
[extras]
osprofiler =
osprofiler>=1.4.0 # Apache-2.0
+powervm =
+ pypowervm>=1.1.15 # Apache-2.0
+zvm =
+ zVMCloudConnector>=1.3.0;sys_platform!='win32' # Apache 2.0 License
+hyperv =
+ os-win>=5.4.0 # Apache-2.0
+vmware =
+ oslo.vmware>=3.6.0 # Apache-2.0
[files]
data_files =