diff --git a/dist/wzl_mqtt-1.1.0-py3-none-any.whl b/dist/wzl_mqtt-1.1.0-py3-none-any.whl deleted file mode 100644 index 87aee7d422e80c606fe026a9084c81844364c61f..0000000000000000000000000000000000000000 Binary files a/dist/wzl_mqtt-1.1.0-py3-none-any.whl and /dev/null differ diff --git a/dist/wzl_mqtt-1.1.3-py3-none-any.whl b/dist/wzl_mqtt-1.1.3-py3-none-any.whl new file mode 100644 index 0000000000000000000000000000000000000000..3ea642156f20c9403dfda8372234194de6bacd44 Binary files /dev/null and b/dist/wzl_mqtt-1.1.3-py3-none-any.whl differ diff --git a/publish.py b/publish.py index 9e466f7d1dd86d0d5587ef38d2ce4940c89c8e1f..0c49e30cccea228868de73aa10b50fbe19d9066f 100644 --- a/publish.py +++ b/publish.py @@ -1,4 +1,4 @@ -import MQTT +import wzl.mqtt import time import logging diff --git a/setup.py b/setup.py index e1f50bf47f8453f156fca73700db9b09a20e2a46..d76d6b68a2b47fa5048f382f54721f6762c938ce 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup(name='wzl-mqtt', - version='1.1.0', + version='1.1.3', url='', author='Benjamin Montavon, Matthias Bodenbenner', author_email='m.bodenbenner@wzl.rwth-aachen.de', diff --git a/wzl/__init__.py b/wzl/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/wzl/mqtt/__init__.py b/wzl/mqtt/__init__.py index fb8884e6a6c62d5e66ee618309c6b36a843c8276..221ffbd9e538d999e16582123aa8c990a8ce9ca5 100644 --- a/wzl/mqtt/__init__.py +++ b/wzl/mqtt/__init__.py @@ -1,6 +1,6 @@ import logging -logger = logging.getLogger('MQTT') +logger = logging.getLogger('mqtt') formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') from .exceptions import MQTTException as MQTTException diff --git a/wzl/mqtt/client.py b/wzl/mqtt/client.py index 0446cdb453146ca63efd93516b59889bac2c6cd0..71327e1b028ba4af238f6afdf506eed44dc0f7c3 100644 --- a/wzl/mqtt/client.py +++ b/wzl/mqtt/client.py @@ -11,9 +11,9 @@ __module_path__ = pathlib.Path(__file__).resolve().parent if str(__module_path__) not in sys.path: sys.path.append(str(__module_path__)) -from .Exceptions import ConnectionError -from .Exceptions import SubscriptionError -from .Exceptions import PublishError +from .exceptions import ConnectionError +from .exceptions import SubscriptionError +from .exceptions import PublishError import warnings import inspect diff --git a/wzl/mqtt/specialized.py b/wzl/mqtt/specialized.py index e3dbde9754c883f6844e7c223a360965acc23a2a..d6c68fa1540b296b7737834424f722e4feae3e98 100644 --- a/wzl/mqtt/specialized.py +++ b/wzl/mqtt/specialized.py @@ -2,7 +2,7 @@ import datetime import json from typing import Dict -from wzl.mqtt.client import MQTTPublisher +from .client import MQTTPublisher class ScheduledMQTTPublisher(MQTTPublisher):