From fee5fc4ae0d042cdb96a0087ef04465edfc77853 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 27 Apr 2022 14:52:41 +0200 Subject: [PATCH] HTTP backend dependencies moved from optional to required If Platypush is supposed to work also without a manually created `config.yaml`, and the HTTP backend is enabled by default in that configuration, then Flask and companions should be among the required dependencies. --- platypush/backend/http/__init__.py | 147 ++++++++++++++++++--------- platypush/backend/http/manifest.yaml | 3 - requirements.txt | 1 + setup.py | 42 +++++--- 4 files changed, 132 insertions(+), 61 deletions(-) diff --git a/platypush/backend/http/__init__.py b/platypush/backend/http/__init__.py index 2e3cb3960..21c649887 100644 --- a/platypush/backend/http/__init__.py +++ b/platypush/backend/http/__init__.py @@ -91,14 +91,16 @@ class HttpBackend(Backend): other music plugin enabled. --> - + + explicitly exposed as an HTTP resource through the backend + `resource_dirs` attribute. -->