supervisor: add runtime dependency on python-setuptools
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Wed, 11 Jun 2014 19:17:47 +0000 (21:17 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 11 Jun 2014 20:17:59 +0000 (22:17 +0200)
supervisor has a runtime dependency on python-setuptools which was not
expressed in its Config.in file. When running supervisor without setuptools,
one gets:

Starting supervisord: Traceback (most recent call last):
  File "/usr/bin/supervisord", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Partially fixes bug #7184 (https://bugs.busybox.net/show_bug.cgi?id=7184)

Reported-by: Sebastian Himberger <sebastian@himberger.de>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/supervisor/Config.in

index c511dd87057862394b83e893a830f3ba30e609d8..2ab0e048f606061045f0cef3cbc46712e9f63808 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SUPERVISOR
        bool "supervisor"
        depends on BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_PYTHON_MELD3
+       select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency
        help
          A client/server system that allows its users to control a
          number of processes on UNIX-like operating systems.