Adds MON Prometheus exporter
[osm/MON.git] / setup.py
index 6ea105c..dc5812f 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -28,7 +28,7 @@ def parse_requirements(requirements):
 
 
 _name = 'osm_mon'
-_version_command = ('git describe --match v* --tags --long --dirty', 'pep440-git')
+_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'
@@ -71,6 +71,11 @@ setup(
         "osm-common"
     ],
     include_package_data=True,
+    entry_points={
+        "console_scripts": [
+            "osm-mon-exporter = osm_mon.cmd.exporter:main",
+        ]
+    },
     dependency_links=[
         'git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common'
     ],