diff --git a/debian/changelog b/debian/changelog index 2d3a7c8b8ca0aba3f118d4b483ff452d1f46c74f..79d458a24e4a000cb9d849516b9106a310b60d68 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +tempermonitor (2.0.5) buster; urgency=medium + + * fix missing module + + -- Michael Loipführer <ml@stusta.de> Thu, 23 Apr 2020 23:40:18 +0200 + tempermonitor (2.0.4) buster; urgency=medium * improve plugin handling diff --git a/setup.py b/setup.py index 54ee0b1e4ff244705fb08255365bcbbc0d689371..2e113f93a341febfa74f28ebe9776ff96884d894 100644 --- a/setup.py +++ b/setup.py @@ -1,6 +1,6 @@ from setuptools import setup -VERSION = '2.0.4' +VERSION = '2.0.5' def readme(): @@ -26,7 +26,10 @@ setup( 'prometheus_client' ], license='MIT', - packages=['tempermonitor'], + packages=[ + 'tempermonitor', + 'tempermonitor.plugins' + ], include_package_data=True, zip_safe=False ) diff --git a/tempermonitor/tempermonitor.py b/tempermonitor/tempermonitor.py index 882859a28fca67797eee9cd2b35e97dc6ab9a5f9..845c04990d368fd768fc349e40ba4f30154852f4 100755 --- a/tempermonitor/tempermonitor.py +++ b/tempermonitor/tempermonitor.py @@ -21,13 +21,11 @@ import asyncio import configparser import sys import time -import importlib from datetime import datetime -from pathlib import Path import serial_asyncio import serial -from tempermonitor.plugins import PLUGINS +from .plugins import PLUGINS class Sensor: