Add CaaS Logging REST API and CLI plugins
[ta/caas-logging.git] / src / setup.py
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 from setuptools import setup, find_packages
16 setup(
17     name='caas_logging',
18     version='1.0',
19     license='Apache-2.0',
20     author='Gabor Mate',
21     author_email='gabor.mate@nokia.com',
22     platforms=['Any'],
23     scripts=[],
24     provides=[],
25     namespace_packages=['caas_logging'],
26     packages=find_packages(),
27     include_package_data=True,
28     description='CaaS Logging for Akraino REC',
29     install_requires=['flask', 'flask-restful', 'hostcli'],
30     entry_points={
31         'hostcli.commands': [
32             'caas applications log add            = caas_logging.cli.caas:CreateAppLogBackend',
33             'caas applications log change         = caas_logging.cli.caas:ChangeAppLogBackend',
34             'caas applications log delete         = caas_logging.cli.caas:DeleteAppLogBackend',
35             'caas applications log show           = caas_logging.cli.caas:ShowAppLogBackend',
36             'caas applications log list           = caas_logging.cli.caas:ListAppLogBackend',
37             'caas applications log list namespace = caas_logging.cli.caas:ListAppLogBackendForNamespace',
38         ],
39     },
40     zip_safe=False,
41 )