blob: f0e8f43b5bc5bad1fe4f5cd997db54b01414e35b [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"
24
25#!/usr/bin/env python
26
27from setuptools import setup
28from os import system
29
prithiv063fe7c2017-09-29 11:24:41 +010030_name = 'core'
prithiv897fb362017-09-15 14:59:44 +010031_version = '1.0'
32_description = 'OSM Monitoring Module'
33_author = 'Prithiv Mohan'
34_author_email = 'prithiv.mohan@intel.com'
35_maintainer = 'Adrian Hoban'
36_maintainer_email = 'adrian.hoban@intel.com'
37_license = 'Apache 2.0'
38_copyright = 'Intel Research and Development Ireland'
39_url = 'https://osm.etsi.org/gitweb/?p=osm/MON.git;a=tree'
40_requirements = [
prithiv1e3d6ce2017-10-10 13:12:55 +010041 "stdeb",
Helena McGough95b92b32017-10-01 12:03:53 +010042 "MySQL-python",
prithiv897fb362017-09-15 14:59:44 +010043 "requests",
prithiv063fe7c2017-09-29 11:24:41 +010044 "logutils",
prithiv897fb362017-09-15 14:59:44 +010045 "cherrypy",
46 "jsmin",
47 "jsonschema",
48 "python-openstackclient",
49 "python-novaclient",
50 "python-keystoneclient",
51 "python-neutronclient",
prithiv063fe7c2017-09-29 11:24:41 +010052 "aodhclient",
53 "gnocchiclient",
54 "boto==2.48",
prithiv897fb362017-09-15 14:59:44 +010055 "python-cloudwatchlogs-logging",
56 "py-cloudwatch",
57 "pyvcloud",
58 "pyopenssl",
prithiv897fb362017-09-15 14:59:44 +010059 "cherrypy",
prithiv063fe7c2017-09-29 11:24:41 +010060 "bottle",
Helena McGough95b92b32017-10-01 12:03:53 +010061 "six",
prithiv897fb362017-09-15 14:59:44 +010062]
63
prithiv063fe7c2017-09-29 11:24:41 +010064setup(name="mon_core",
prithiv897fb362017-09-15 14:59:44 +010065 version = _version,
66 description = _description,
67 long_description = open('README.rst').read(),
68 author = _author,
69 author_email = _author_email,
70 maintainer = _maintainer,
71 maintainer_email = _maintainer_email,
72 url = _url,
73 license = _license,
74 copyright = _copyright,
75 packages = [_name],
76 package_dir = {_name: _name},
77 package_data = {_name: ['core/message_bus/*.py', 'core/models/*.json',
78 'plugins/OpenStack/Aodh/*.py', 'plugins/OpenStack/Gnocchi/*.py',
79 'plugins/vRealiseOps/*', 'plugins/CloudWatch/*']},
prithiv1e3d6ce2017-10-10 13:12:55 +010080 data_files = [('/etc/systemd/system/', ['scripts/kafka.sh']),
prithiv063fe7c2017-09-29 11:24:41 +010081 ],
82 scripts=['plugins/vRealiseOps/vROPs_Webservice/vrops_webservice',
83 'kafkad'],
prithiv897fb362017-09-15 14:59:44 +010084 install_requires = _requirements,
85 include_package_data=True,
86 )