* [PATCH] Add missing module to installer
@ 2012-02-02 8:21 Bernhard Reutner-Fischer
2012-02-02 8:21 ` [PATCH] setup.py: Install concurrent too Bernhard Reutner-Fischer
2012-02-02 15:22 ` [PATCH] Add missing module to installer Richard Purdie
0 siblings, 2 replies; 4+ messages in thread
From: Bernhard Reutner-Fischer @ 2012-02-02 8:21 UTC (permalink / raw)
To: bitbake-devel
Ok for me to push this one?
Bernhard Reutner-Fischer (1):
setup.py: Install concurrent too
setup.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
--
1.7.8.3
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] setup.py: Install concurrent too
2012-02-02 8:21 [PATCH] Add missing module to installer Bernhard Reutner-Fischer
@ 2012-02-02 8:21 ` Bernhard Reutner-Fischer
2012-02-09 23:01 ` Chris Larson
2012-02-02 15:22 ` [PATCH] Add missing module to installer Richard Purdie
1 sibling, 1 reply; 4+ messages in thread
From: Bernhard Reutner-Fischer @ 2012-02-02 8:21 UTC (permalink / raw)
To: bitbake-devel
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@gmail.com>
---
setup.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/setup.py b/setup.py
index 3f9899e..e86ddd1 100755
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,8 @@ setup(name='bitbake',
requires = ["ply", "progressbar", "futures"],
package_dir = {"": "lib"},
packages = ["bb.server", "bb.parse.parse_py", "bb.parse", "bb.fetch",
- "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb", "prserv"],
+ "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb",
+ "prserv", "concurrent", "concurrent.futures"],
py_modules = ["codegen"],
scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv"],
data_files = [("share/bitbake", glob("conf/*") + glob("classes/*")),
--
1.7.8.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] Add missing module to installer
2012-02-02 8:21 [PATCH] Add missing module to installer Bernhard Reutner-Fischer
2012-02-02 8:21 ` [PATCH] setup.py: Install concurrent too Bernhard Reutner-Fischer
@ 2012-02-02 15:22 ` Richard Purdie
1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2012-02-02 15:22 UTC (permalink / raw)
To: Bernhard Reutner-Fischer; +Cc: bitbake-devel
On Thu, 2012-02-02 at 09:21 +0100, Bernhard Reutner-Fischer wrote:
> Ok for me to push this one?
>
> Bernhard Reutner-Fischer (1):
> setup.py: Install concurrent too
Looks good to me!
Cheers,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] setup.py: Install concurrent too
2012-02-02 8:21 ` [PATCH] setup.py: Install concurrent too Bernhard Reutner-Fischer
@ 2012-02-09 23:01 ` Chris Larson
0 siblings, 0 replies; 4+ messages in thread
From: Chris Larson @ 2012-02-09 23:01 UTC (permalink / raw)
To: Bernhard Reutner-Fischer; +Cc: bitbake-devel
On Thu, Feb 2, 2012 at 1:21 AM, Bernhard Reutner-Fischer
<rep.dot.nop@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@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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-02-09 23:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 8:21 [PATCH] Add missing module to installer Bernhard Reutner-Fischer
2012-02-02 8:21 ` [PATCH] setup.py: Install concurrent too Bernhard Reutner-Fischer
2012-02-09 23:01 ` Chris Larson
2012-02-02 15:22 ` [PATCH] Add missing module to installer Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.