Update DCAE Committer in INFO.yaml
[dcaegen2/platform/cli.git] / dcae-cli / setup.py
1 # ============LICENSE_START=======================================================
2 # org.onap.dcae
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
9 #
10 #      http://www.apache.org/licenses/LICENSE-2.0
11 #
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=========================================================
18 #
19 # ECOMP is a trademark and service mark of AT&T Intellectual Property.
20
21 # -*- coding: utf-8 -*-
22 import os
23 from setuptools import setup, find_packages
24
25
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:
29     globals_dict = dict()
30     exec(file.read(), globals_dict)
31     __version__ = globals_dict['__version__']
32
33
34 setup(
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"),
40     entry_points="""
41     [console_scripts]
42     dcae_cli=dcae_cli.cli:cli
43     """,
44     setup_requires=['pytest-runner'],
45     install_requires=['python-consul<1.0.0',
46                       'six',
47                       'sqlalchemy',
48                       'SQLAlchemy-Utils',
49                       'click>=6.0,<7.0',
50                       'jsonschema',
51                       'terminaltables',
52                       'psycopg2==2.7.5',
53                       'psycopg2-binary==2.7.5',
54                       'genson',
55                       'onap-dcae-discovery-client>=2.0.0',
56                       'onap-dcae-dockering>=1.4.1,<2.0.0'
57                       ],
58     tests_require=['pytest',
59                    'mock'],
60     )