From 665d5dd157aa83bb20fdb9cc54a577ea07d6c6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 10 May 2021 19:30:43 +0200 Subject: [PATCH] Require setuptools on runtime, moksha uses pkg_resources The pkg_resources module is only available when setuptools is installed. --- moksha.common/setup.py | 1 + moksha.feeds/setup.py | 1 + moksha.hub/setup.py | 3 +++ moksha.wsgi/setup.py | 3 +++ 4 files changed, 8 insertions(+) diff --git a/moksha.common/setup.py b/moksha.common/setup.py index a56f294a..862b5fc4 100644 --- a/moksha.common/setup.py +++ b/moksha.common/setup.py @@ -46,6 +46,7 @@ "decorator", "pytz", "kitchen", + "setuptools", # needed for pkg_resources ], classifiers = [ "Development Status :: 5 - Production/Stable", diff --git a/moksha.feeds/setup.py b/moksha.feeds/setup.py index a42464c3..5eef1d1d 100644 --- a/moksha.feeds/setup.py +++ b/moksha.feeds/setup.py @@ -34,6 +34,7 @@ "shove <= 0.3.3", "feedcache", "feedparser", + "setuptools", # needed for pkg_resources ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, diff --git a/moksha.hub/setup.py b/moksha.hub/setup.py index ea996398..1eef5699 100644 --- a/moksha.hub/setup.py +++ b/moksha.hub/setup.py @@ -32,6 +32,9 @@ "txWS", #"python-daemon", + # Needed for pkg_resources + "setuptools", + # Optional #"service_identity", #"pyasn1", diff --git a/moksha.wsgi/setup.py b/moksha.wsgi/setup.py index a5813bb6..6ee9f6a5 100644 --- a/moksha.wsgi/setup.py +++ b/moksha.wsgi/setup.py @@ -61,6 +61,9 @@ # Needed for the source code widget. "pygments", + + # Needed for pkg_resources + "setuptools", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True,