Manual update of pip requirements
[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 from setuptools import setup
23
24 _name = "osm_mon"
25 _version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
26 _description = "OSM Monitoring Module"
27 _author = "OSM Support"
28 _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"
33
34 setup(
35 name=_name,
36 version_command=_version_command,
37 description=_description,
38 long_description=open("README.rst", encoding="utf-8").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 include_package_data=True,
48 entry_points={
49 "console_scripts": [
50 "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",
53 "osm-mon-dashboarder = osm_mon.cmd.mon_dashboarder:main",
54 "osm-mon-healthcheck = osm_mon.cmd.mon_healthcheck:main",
55 ]
56 },
57 setup_requires=["setuptools-version-command"],
58 )