diff --git a/hiddenimports.py b/hiddenimports.py index 4e75e270..9fc2fcf3 100644 --- a/hiddenimports.py +++ b/hiddenimports.py @@ -2,11 +2,9 @@ hiddenimports = [ "sacn", "aubio", "numpy", - "notifypy", "math", "voluptuous", "numpy", - "notifypy", "aiohttp", "mido", "mido.frozen", diff --git a/ledfx/api/notification.py b/ledfx/api/notification.py index 35156ddd..a8f6b6b2 100644 --- a/ledfx/api/notification.py +++ b/ledfx/api/notification.py @@ -2,7 +2,6 @@ import logging from json import JSONDecodeError from aiohttp import web -from notifypy import Notify from ledfx.api import RestEndpoint from ledfx.utils import get_icon_path @@ -48,14 +47,6 @@ class NotifyEndpoint(RestEndpoint): if self.icon is not None: if self.icon.HAS_NOTIFICATION: self.icon.notify(f"{title}:\n{text}") - else: - icon_location = get_icon_path("tray.png") - notification = Notify() - notification.application_name = "LedFx" - notification.title = title - notification.message = text - notification.icon = icon_location - notification.send(block=False) response = { "status": "success", diff --git a/setup.py b/setup.py index d312e719..f730d263 100644 --- a/setup.py +++ b/setup.py @@ -29,7 +29,6 @@ INSTALL_REQUIRES = [ "cython>=0.29.21", "certifi>=2020.12.5", "multidict~=5.0.0", - "notify-py>=0.3.42", "openrgb-python~=0.2.10", "paho-mqtt>=1.5.1", "psutil>=5.8.0",