blob: 7b810efacbee2abeb1b08d59c452797812586127 [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 = [
prithiv063fe7c2017-09-29 11:24:41 +010041 "MySQL-python",
prithiv897fb362017-09-15 14:59:44 +010042 "requests",
prithiv063fe7c2017-09-29 11:24:41 +010043 "logutils",
prithiv897fb362017-09-15 14:59:44 +010044 "cherrypy",
45 "jsmin",
46 "jsonschema",
47 "python-openstackclient",
48 "python-novaclient",
49 "python-keystoneclient",
50 "python-neutronclient",
prithiv063fe7c2017-09-29 11:24:41 +010051 "aodhclient",
52 "gnocchiclient",
53 "boto==2.48",
prithiv897fb362017-09-15 14:59:44 +010054 "python-cloudwatchlogs-logging",
55 "py-cloudwatch",
56 "pyvcloud",
57 "pyopenssl",
prithiv897fb362017-09-15 14:59:44 +010058 "cherrypy",
prithiv063fe7c2017-09-29 11:24:41 +010059 "bottle",
prithiv897fb362017-09-15 14:59:44 +010060]
61
prithiv063fe7c2017-09-29 11:24:41 +010062setup(name="mon_core",
prithiv897fb362017-09-15 14:59:44 +010063 version = _version,
64 description = _description,
65 long_description = open('README.rst').read(),
66 author = _author,
67 author_email = _author_email,
68 maintainer = _maintainer,
69 maintainer_email = _maintainer_email,
70 url = _url,
71 license = _license,
72 copyright = _copyright,
73 packages = [_name],
74 package_dir = {_name: _name},
75 package_data = {_name: ['core/message_bus/*.py', 'core/models/*.json',
76 'plugins/OpenStack/Aodh/*.py', 'plugins/OpenStack/Gnocchi/*.py',
77 'plugins/vRealiseOps/*', 'plugins/CloudWatch/*']},
prithiv063fe7c2017-09-29 11:24:41 +010078 data_files = [('/etc/systemd/system/', ['core/kafka.service']),
79 ],
80 scripts=['plugins/vRealiseOps/vROPs_Webservice/vrops_webservice',
81 'kafkad'],
prithiv897fb362017-09-15 14:59:44 +010082 install_requires = _requirements,
83 include_package_data=True,
84 )