blob: 163d17f6ae403d05c26e7e6c5dd39919f4b45058 [file] [log] [blame]
prithiv897fb362017-09-15 14:59:44 +01001# Copyright 2017 Intel Research and Development Ireland Limited
2# *************************************************************
3
4# This file is part of OSM Monitoring module
5# All Rights Reserved to Intel Corporation
6
7# Licensed under the Apache License, Version 2.0 (the "License"); you may
8# not use this file except in compliance with the License. You may obtain
9# a copy of the License at
10
11# http://www.apache.org/licenses/LICENSE-2.0
12
13# Unless required by applicable law or agreed to in writing, software
14# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16# License for the specific language governing permissions and limitations
17# under the License.
18
19# For those usages not covered by the Apache License, Version 2.0 please
20# contact: prithiv.mohan@intel.com or adrian.hoban@intel.com
21
22__author__ = "Prithiv Mohan"
23__date__ = "14/Sep/2017"
prithiv897fb362017-09-15 14:59:44 +010024from setuptools import setup
25from os import system
prithivc7397b92017-11-23 13:47:34 +000026_name = 'osm_mon'
prithiv897fb362017-09-15 14:59:44 +010027_version = '1.0'
28_description = 'OSM Monitoring Module'
29_author = 'Prithiv Mohan'
30_author_email = 'prithiv.mohan@intel.com'
31_maintainer = 'Adrian Hoban'
32_maintainer_email = 'adrian.hoban@intel.com'
33_license = 'Apache 2.0'
prithiv897fb362017-09-15 14:59:44 +010034_url = 'https://osm.etsi.org/gitweb/?p=osm/MON.git;a=tree'
prithiv71ce7ec2017-11-22 16:46:11 +000035setup(name="osm_mon",
prithiv897fb362017-09-15 14:59:44 +010036 version = _version,
37 description = _description,
38 long_description = open('README.rst').read(),
39 author = _author,
40 author_email = _author_email,
41 maintainer = _maintainer,
42 maintainer_email = _maintainer_email,
43 url = _url,
44 license = _license,
prithiv897fb362017-09-15 14:59:44 +010045 packages = [_name],
46 package_dir = {_name: _name},
prithivc7397b92017-11-23 13:47:34 +000047 package_data = {_name: ['osm_mon/core/message_bus/*.py', 'osm_mon/core/models/*.json',
48 'osm_mon/plugins/OpenStack/Aodh/*.py', 'osm_mon/plugins/OpenStack/Gnocchi/*.py',
49 'osm_mon/plugins/vRealiseOps/*', 'osm_mon/plugins/CloudWatch/*']},
prithiv1e3d6ce2017-10-10 13:12:55 +010050 data_files = [('/etc/systemd/system/', ['scripts/kafka.sh']),
prithiv063fe7c2017-09-29 11:24:41 +010051 ],
prithivc7397b92017-11-23 13:47:34 +000052 scripts=['osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice',
Benjamin Diazb3f86c92018-03-25 23:45:55 -030053 'kafkad', 'osm_mon/core/message_bus/common_consumer.py'],
prithiv897fb362017-09-15 14:59:44 +010054 include_package_data=True,
55 )