diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2018-07-27 13:28:48 +0800 |
---|---|---|
committer | Lianhao Lu <lianhao.lu@intel.com> | 2018-08-02 10:01:09 +0800 |
commit | 89649fc1d5fa2cfa73c04d53d6ff5e0a46cf2e1f (patch) | |
tree | b88a28d15a6cc1a6278887982ce8828c67f95f63 /setup.py | |
parent | 979471fd238cba6847c7e16400c3d8fdb4cc9711 (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.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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]' ] }, |