1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved.
5 # ================================================================================
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 # ============LICENSE_END=========================================================
19 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
21 # -*- coding: utf-8 -*-
23 from setuptools import setup, find_packages
26 # extract __version__ from version file. importing dcae_cli will lead to install failures
27 setup_dir = os.path.dirname(__file__)
28 with open(os.path.join(setup_dir, 'dcae_cli', '_version.py')) as file:
30 exec(file.read(), globals_dict)
31 __version__ = globals_dict['__version__']
35 name = "onap-dcae-cli",
36 version = __version__,
37 packages = find_packages(),
38 author = "Michael Hwang, Paul Triantafyllou, Tommy Carpenter",
39 description = ("DCAE component on-boarding utility"),
42 dcae_cli=dcae_cli.cli:cli
44 setup_requires=['pytest-runner'],
45 install_requires=['python-consul<1.0.0',
53 'psycopg2-binary==2.7.5',
56 'onap-dcae-discovery-client>=2.0.0',
57 'onap-dcae-dockering>=1.4.1,<2.0.0'
59 tests_require=['pytest',