MON Packaging Changes
[osm/MON.git] / setup.py
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 from setuptools import setup
25 from os import system
26 _name = 'osm-mon'
27 _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'
34 _url = 'https://osm.etsi.org/gitweb/?p=osm/MON.git;a=tree'
35 setup(name="osm_mon",
36 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,
45 packages = [_name],
46 package_dir = {_name: _name},
47 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/*']},
50 data_files = [('/etc/systemd/system/', ['scripts/kafka.sh']),
51 ],
52 scripts=['osm-mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice',
53 'kafkad', 'osm-mon/core/message_bus/common_consumer'],
54 include_package_data=True,
55 )