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