blob: 3c91487d3f52353dd754877d4f1760ae83a091b5 [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
garciadeblas8e4179f2021-05-14 16:47:03 +020024_name = "osm_mon"
25_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
26_description = "OSM Monitoring Module"
beierlmbb0f2a32021-02-16 13:30:35 -050027_author = "OSM Support"
garciadeblas8e4179f2021-05-14 16:47:03 +020028_author_email = "osmsupport@etsi.org"
29_maintainer = "OSM Support"
30_maintainer_email = "osmsupport@etsi.org"
31_license = "Apache 2.0"
32_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,
garciadeblas8e4179f2021-05-14 16:47:03 +020038 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": [
garciadeblasd26c17d2025-06-30 10:19:35 +020050 "osm-mon-server = osm_mon.cmd.mon_server:main",
51 "osm-mon-evaluator = osm_mon.cmd.mon_evaluator:main",
52 "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",
garciadeblasd26c17d2025-06-30 10:19:35 +020054 "osm-mon-healthcheck = osm_mon.cmd.mon_healthcheck:main",
Benjamin Diazdec1bb52018-10-10 16:50:44 -030055 ]
56 },
garciadeblas8e4179f2021-05-14 16:47:03 +020057 setup_requires=["setuptools-version-command"],
Benjamin Diaz8ddd3b92018-09-18 12:43:18 -030058)