| prithiv | 897fb36 | 2017-09-15 14:59:44 +0100 | [diff] [blame] | 1 | # 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 | |
| 27 | from setuptools import setup |
| 28 | from os import system |
| 29 | |
| 30 | _name = 'mon' |
| 31 | _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 = [ |
| 41 | "MySQL-python", |
| 42 | "requests", |
| 43 | "loguitls", |
| 44 | "cherrypy", |
| 45 | "jsmin", |
| 46 | "jsonschema", |
| 47 | "python-openstackclient", |
| 48 | "python-novaclient", |
| 49 | "python-keystoneclient", |
| 50 | "python-neutronclient", |
| 51 | "python-aodhclient", |
| 52 | "python-gnocchi client", |
| 53 | "boto==2.8", |
| 54 | "python-cloudwatchlogs-logging", |
| 55 | "py-cloudwatch", |
| 56 | "pyvcloud", |
| 57 | "pyopenssl", |
| 58 | "python-requests", |
| 59 | "cherrypy", |
| 60 | "python-bottle", |
| 61 | ] |
| 62 | |
| 63 | setup(name=_name, |
| 64 | version = _version, |
| 65 | description = _description, |
| 66 | long_description = open('README.rst').read(), |
| 67 | author = _author, |
| 68 | author_email = _author_email, |
| 69 | maintainer = _maintainer, |
| 70 | maintainer_email = _maintainer_email, |
| 71 | url = _url, |
| 72 | license = _license, |
| 73 | copyright = _copyright, |
| 74 | packages = [_name], |
| 75 | package_dir = {_name: _name}, |
| 76 | package_data = {_name: ['core/message_bus/*.py', 'core/models/*.json', |
| 77 | 'plugins/OpenStack/Aodh/*.py', 'plugins/OpenStack/Gnocchi/*.py', |
| 78 | 'plugins/vRealiseOps/*', 'plugins/CloudWatch/*']}, |
| 79 | install_requires = _requirements, |
| 80 | include_package_data=True, |
| 81 | ) |