aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorLianhao Lu <lianhao.lu@intel.com>2018-07-27 13:28:48 +0800
committerLianhao Lu <lianhao.lu@intel.com>2018-08-02 10:01:09 +0800
commit89649fc1d5fa2cfa73c04d53d6ff5e0a46cf2e1f (patch)
treeb88a28d15a6cc1a6278887982ce8828c67f95f63 /setup.py
parent979471fd238cba6847c7e16400c3d8fdb4cc9711 (diff)
Make aria dependency optional
Since cloudify has announced the retirement of aria, we need to add opnfv-toscaparser as our default backend. However, since they have conflicting dependencies, we need to make aria dependency optional. Change-Id: I22bb5f7411162828226d4290fd00dfd91d49efa3 Issue-ID: VNFSDK-292 Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c6ba237..7615d29 100644
--- a/setup.py
+++ b/setup.py
@@ -47,6 +47,8 @@ with open(os.path.join(root_dir, 'requirements.txt')) as requirements:
else:
install_requires.append(requirement)
+extras_require['aria'] = 'apache-ariatosca==0.1.1'
+
version = { }
with open(os.path.join(root_dir, 'vnfsdk_pkgtools/version.py')) as fp:
exec(fp.read(), version)
@@ -83,7 +85,7 @@ setup(
'console_scripts': [
'vnfsdk = vnfsdk_pkgtools.cli.__main__:main'],
'vnfsdk.pkgtools.validator': [
- 'aria = vnfsdk_pkgtools.validator.aria_validator:AriaValidator'
+ 'aria = vnfsdk_pkgtools.validator.aria_validator:AriaValidator [aria]'
]
},