X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=setup.py;h=c85fa76aa210bc1acda8914e2838ea14219bed83;hb=de3d570360a0a31d3054a6ff72b09ae9f559b59c;hp=4f2250b2df5de37bd89ebd97a793ba4244bb8901;hpb=8ddd3b9ad9b588a712b040a0ebc6dfd4e019b7c3;p=osm%2FMON.git diff --git a/setup.py b/setup.py index 4f2250b..c85fa76 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,8 @@ def parse_requirements(requirements): _name = 'osm_mon' -_version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git') -_description = 'OSM Policy Module' +_version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git-full') +_description = 'OSM Monitoring Module' _author = "Benjamín Díaz" _author_email = 'bdiaz@whitestack.com' _maintainer = 'Gianpietro Lavado' @@ -41,7 +41,7 @@ setup( name=_name, version_command=_version_command, description=_description, - long_description=open('README.rst').read(), + long_description=open('README.rst', encoding='utf-8').read(), author=_author, author_email=_author_email, maintainer=_maintainer, @@ -50,10 +50,30 @@ setup( license=_license, packages=[_name], package_dir={_name: _name}, - scripts=['osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice', - 'osm_mon/core/message_bus/common_consumer.py'], - install_requires=parse_requirements('requirements.txt'), + install_requires=[ + "kafka-python==1.4.3", + "requests==2.18.*", + "cherrypy==14.0.*", + "jsmin==2.2.*", + "jsonschema==2.6.*", + "python-keystoneclient==3.15.*", + "six==1.11.*", + "peewee==3.1.*", + "pyyaml==3.*", + "prometheus_client==0.4.*", + "gnocchiclient==7.0.*", + "osm-common", + "n2vc" + ], include_package_data=True, + entry_points={ + "console_scripts": [ + "osm-mon-server = osm_mon.cmd.mon_server:main", + "osm-mon-evaluator = osm_mon.cmd.mon_evaluator:main", + "osm-mon-collector = osm_mon.cmd.mon_collector:main", + "osm-mon-healthcheck = osm_mon.cmd.mon_healthcheck:main", + ] + }, dependency_links=[ 'git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common' ],