From fda4658e9230e7f6307391e8183421111f5c28f6 Mon Sep 17 00:00:00 2001 From: Bas Stottelaar Date: Mon, 10 Nov 2014 20:47:27 +0100 Subject: [PATCH] Fix for #1994 --- lib/pkg_resources.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/pkg_resources.py diff --git a/lib/pkg_resources.py b/lib/pkg_resources.py new file mode 100644 index 00000000..d82b7446 --- /dev/null +++ b/lib/pkg_resources.py @@ -0,0 +1,11 @@ +# Stub file. Not affiliated with the original 'pkg_resource.py' included in the +# 'setuptools' package. + +def iter_entry_points(group, name=None): + """ + Stub method to make APScheduler happy. This method is only imported in + 'lib/apscheduler/schedulers/base.py' to autodetect triggers, executors and + job stores. Headphones does not use this functionality, so it just returns + an iterator of an empty dict. + """ + return iter(dict()) \ No newline at end of file