Patchwork [bitbake-devel] Martin Jansa : setup.py: install prserv too

login
register
mail settings
Submitter git@git.openembedded.org
Date Jan. 20, 2012, 4:57 p.m.
Message ID <20120120165748.6919E10337@opal>
Download mbox | patch
Permalink /patch/19843/
State Not Applicable
Headers show

Comments

git@git.openembedded.org - Jan. 20, 2012, 4:57 p.m.
Module: bitbake.git
Branch: master
Commit: b4a40c2139e0a8c089ef9aba0796b40470b38e6c
URL:    http://git.openembedded.org/?p=bitbake.git&a=commit;h=b4a40c2139e0a8c089ef9aba0796b40470b38e6c

Author: Martin Jansa <martin.jansa@gmail.com>
Date:   Sun Jan 15 22:03:52 2012 +0100

setup.py: install prserv too

* otherwise cooker fails:
  Traceback (most recent call last):
    File /usr/bin/bitbake, line 39, in <module>
      from bb import cooker
    File /usr/lib64/python2.7/site-packages/bb/cooker.py, line 39, in <module>
      import prserv.serv
  ImportError: No module named prserv.serv

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

---

 setup.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/setup.py b/setup.py
index 581a24c..3f9899e 100755
--- a/setup.py
+++ b/setup.py
@@ -54,9 +54,9 @@  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"],
+                  "bb.fetch2", "bb.ui.crumbs", "bb.ui", "bb.pysh", "bb", "prserv"],
       py_modules = ["codegen"],
-      scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs"],
+      scripts = ["bin/bitbake", "bin/bitbake-layers", "bin/bitbake-diffsigs", "bin/bitbake-prserv"],
       data_files = [("share/bitbake", glob("conf/*") + glob("classes/*")),
                   ("share/doc/bitbake-%s/manual" % __version__, glob("doc/manual/html/*"))],
       cmdclass = {