blob: 04d35e3459d2a1013db61d732a69b9570d76b8fb [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
prithiv897fb362017-09-15 14:59:44 +010022from setuptools import setup
Benjamin Diazb7261612018-05-11 18:00:16 -030023
prithivc7397b92017-11-23 13:47:34 +000024_name = 'osm_mon'
lavado20596312018-10-01 09:59:17 -050025_version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git-full')
Benjamin Diaz31c6f752018-09-26 17:30:55 -030026_description = 'OSM Monitoring Module'
beierlmbb0f2a32021-02-16 13:30:35 -050027_author = "OSM Support"
28_author_email = 'osmsupport@etsi.org'
29_maintainer = 'OSM Support'
30_maintainer_email = 'osmsupport@etsi.org'
prithiv897fb362017-09-15 14:59:44 +010031_license = 'Apache 2.0'
prithiv897fb362017-09-15 14:59:44 +010032_url = 'https://osm.etsi.org/gitweb/?p=osm/MON.git;a=tree'
Benjamin Diaz8ddd3b92018-09-18 12:43:18 -030033
34setup(
35 name=_name,
36 version_command=_version_command,
37 description=_description,
Benjamin Diazde3d5702018-11-22 17:27:35 -030038 long_description=open('README.rst', encoding='utf-8').read(),
Benjamin Diaz8ddd3b92018-09-18 12:43:18 -030039 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 Diaz8ddd3b92018-09-18 12:43:18 -030047 include_package_data=True,
Benjamin Diazdec1bb52018-10-10 16:50:44 -030048 entry_points={
49 "console_scripts": [
Benjamin Diaz51f44862018-11-15 10:27:12 -030050 "osm-mon-server = osm_mon.cmd.mon_server:main",
51 "osm-mon-evaluator = osm_mon.cmd.mon_evaluator:main",
Benjamin Diaz0e342442018-11-09 17:52:08 -030052 "osm-mon-collector = osm_mon.cmd.mon_collector:main",
beierlmbb0f2a32021-02-16 13:30:35 -050053 "osm-mon-dashboarder = osm_mon.cmd.mon_dashboarder:main",
Benjamin Diazde3d5702018-11-22 17:27:35 -030054 "osm-mon-healthcheck = osm_mon.cmd.mon_healthcheck:main",
Benjamin Diazdec1bb52018-10-10 16:50:44 -030055 ]
56 },
Benjamin Diaz8ddd3b92018-09-18 12:43:18 -030057 setup_requires=['setuptools-version-command']
58)