[bitbake-devel] [PATCH] setup.py: Install concurrent too

Chris Larson clarson at kergoth.com
Thu Feb 9 23:01:49 UTC 2012


On Thu, Feb 2, 2012 at 1:21 AM, Bernhard Reutner-Fischer
<rep.dot.nop at gmail.com> wrote:
> I was getting:
> Traceback (most recent call last):
>  File "/scratch/src/oe/bitbake/build/scripts-2.7/bitbake", line 39, in <module>
>    from bb import cooker
>  File "/scratch/src/oe/bitbake/build/lib/bb/cooker.py", line 35, in <module>
>    from concurrent import futures
> ImportError: No module named concurrent
> Command exited with non-zero status 1
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>


Just as an FYI, this was the wrong approach. setup.py already declared
our dependency on concurrent.futures. If you needed to install it, you
need to install the dependencies as well. If you use it in place in
the source tree, the installed files are irrelevent. Neither of which
require what you tried to do here. Of course, this is irrelevent now
anyway, as we no longer use futures, but I wanted to make this clear.
It was handled the same way we handle all our other dependencies (e.g.
progressbar). We copy it local for those running from the source tree,
and add the dep to setup.py.
-- 
Christopher Larson




More information about the bitbake-devel mailing list