Revert "Adds use of uri in connection to MongoDB instead of host and port"
[osm/MON.git] / setup.py
index 4f2250b..a5f0ca5 100644 (file)
--- 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'
@@ -50,10 +50,35 @@ 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.*",
+        "requests==2.18.*",
+        "cherrypy==14.0.*",
+        "jsmin==2.2.*",
+        "jsonschema==2.6.*",
+        "python-keystoneclient==3.15.*",
+        "boto==2.48",
+        "python-cloudwatchlogs-logging==0.0.3",
+        "py-cloudwatch==0.0.1",
+        "pyvcloud==19.1.1",
+        "pyopenssl==17.5.*",
+        "six==1.11.*",
+        "bottle==0.12.*",
+        "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",
+        ]
+    },
     dependency_links=[
         'git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common'
     ],