blob: 8c6405c94a1d31ef0fdc37ca983a4b492d30b03d [file] [log] [blame]
Michael Hwangb86b4272017-08-24 12:18:43 -04001# ============LICENSE_START=======================================================
2# org.onap.dcae
3# ================================================================================
4# Copyright (c) 2017 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 -*-
22import os
23from setuptools import setup, find_packages
24
25
26# extract __version__ from version file. importing dcae_cli will lead to install failures
27setup_dir = os.path.dirname(__file__)
28with 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
34setup(
35 name = "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',
46 'six',
47 'sqlalchemy',
48 'SQLAlchemy-Utils',
49 'click',
50 'jsonschema',
51 'docker-py>=1.10,<2',
52 'terminaltables',
53 'psycopg2',
Michael Hwang0d4c19a2017-09-14 13:06:21 -040054 'genson',
Michael Hwangb86b4272017-08-24 12:18:43 -040055 'python-discovery-client>=2.0.0',
56 'python-dockering>=1.0.0,<2.0.0'
57 ],
58 tests_require=['pytest',
59 'mock'],
60 )