| 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 | |
| prithiv | 897fb36 | 2017-09-15 14:59:44 +0100 | [diff] [blame] | 22 | from setuptools import setup |
| Benjamin Diaz | b726161 | 2018-05-11 18:00:16 -0300 | [diff] [blame] | 23 | |
| prithiv | c7397b9 | 2017-11-23 13:47:34 +0000 | [diff] [blame] | 24 | _name = 'osm_mon' |
| lavado | 2059631 | 2018-10-01 09:59:17 -0500 | [diff] [blame] | 25 | _version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git-full') |
| Benjamin Diaz | 31c6f75 | 2018-09-26 17:30:55 -0300 | [diff] [blame] | 26 | _description = 'OSM Monitoring Module' |
| beierlm | bb0f2a3 | 2021-02-16 13:30:35 -0500 | [diff] [blame^] | 27 | _author = "OSM Support" |
| 28 | _author_email = 'osmsupport@etsi.org' |
| 29 | _maintainer = 'OSM Support' |
| 30 | _maintainer_email = 'osmsupport@etsi.org' |
| prithiv | 897fb36 | 2017-09-15 14:59:44 +0100 | [diff] [blame] | 31 | _license = 'Apache 2.0' |
| prithiv | 897fb36 | 2017-09-15 14:59:44 +0100 | [diff] [blame] | 32 | _url = 'https://osm.etsi.org/gitweb/?p=osm/MON.git;a=tree' |
| Benjamin Diaz | 8ddd3b9 | 2018-09-18 12:43:18 -0300 | [diff] [blame] | 33 | |
| 34 | setup( |
| 35 | name=_name, |
| 36 | version_command=_version_command, |
| 37 | description=_description, |
| Benjamin Diaz | de3d570 | 2018-11-22 17:27:35 -0300 | [diff] [blame] | 38 | long_description=open('README.rst', encoding='utf-8').read(), |
| Benjamin Diaz | 8ddd3b9 | 2018-09-18 12:43:18 -0300 | [diff] [blame] | 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}, |
| Benjamin Diaz | 8ddd3b9 | 2018-09-18 12:43:18 -0300 | [diff] [blame] | 47 | include_package_data=True, |
| Benjamin Diaz | dec1bb5 | 2018-10-10 16:50:44 -0300 | [diff] [blame] | 48 | entry_points={ |
| 49 | "console_scripts": [ |
| Benjamin Diaz | 51f4486 | 2018-11-15 10:27:12 -0300 | [diff] [blame] | 50 | "osm-mon-server = osm_mon.cmd.mon_server:main", |
| 51 | "osm-mon-evaluator = osm_mon.cmd.mon_evaluator:main", |
| Benjamin Diaz | 0e34244 | 2018-11-09 17:52:08 -0300 | [diff] [blame] | 52 | "osm-mon-collector = osm_mon.cmd.mon_collector:main", |
| beierlm | bb0f2a3 | 2021-02-16 13:30:35 -0500 | [diff] [blame^] | 53 | "osm-mon-dashboarder = osm_mon.cmd.mon_dashboarder:main", |
| Benjamin Diaz | de3d570 | 2018-11-22 17:27:35 -0300 | [diff] [blame] | 54 | "osm-mon-healthcheck = osm_mon.cmd.mon_healthcheck:main", |
| Benjamin Diaz | dec1bb5 | 2018-10-10 16:50:44 -0300 | [diff] [blame] | 55 | ] |
| 56 | }, |
| Benjamin Diaz | 8ddd3b9 | 2018-09-18 12:43:18 -0300 | [diff] [blame] | 57 | setup_requires=['setuptools-version-command'] |
| 58 | ) |