summaryrefslogtreecommitdiff
path: root/bigclown-mqtt2influxdb/files/mqtt2influxdb
diff options
context:
space:
mode:
Diffstat (limited to 'bigclown-mqtt2influxdb/files/mqtt2influxdb')
-rwxr-xr-xbigclown-mqtt2influxdb/files/mqtt2influxdb9
1 files changed, 9 insertions, 0 deletions
diff --git a/bigclown-mqtt2influxdb/files/mqtt2influxdb b/bigclown-mqtt2influxdb/files/mqtt2influxdb
new file mode 100755
index 0000000..22f9f8c
--- /dev/null
+++ b/bigclown-mqtt2influxdb/files/mqtt2influxdb
@@ -0,0 +1,9 @@
+#!/usr/bin/python3.6
+import mqtt2influxdb
+import sys
+from pkg_resources import load_entry_point
+
+if __name__ == '__main__':
+ sys.exit(
+ load_entry_point('mqtt2influxdb', 'console_scripts', 'mqtt2influxdb')()
+ )