All of lore.kernel.org
 help / color / mirror / Atom feed
* inherit setuptools
@ 2014-03-22 11:01 Trevor Woerner
  2014-03-22 19:45 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Trevor Woerner @ 2014-03-22 11:01 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hi,

I'm trying to write a recipe to add a native python application to the
sysroot so it can be used while building an image.

If I build and install the python app "by hand" I get the following
install layout:

.
|-- bin
|   `-- bmaptool
`-- lib
    `-- python2.7
        `-- site-packages
            |-- bmap_tools-3.2-py2.7.egg
            |-- easy-install.pth
            |-- site.py
            `-- site.pyc

When I use my recipe I get:

.
|-- bin
|   `-- bmaptool
`-- lib
    `-- python2.7
        `-- site-packages
            |-- bmap_tools-3.2-py2.7.egg-info
            |   |-- PKG-INFO
            |   |-- SOURCES.txt
            |   |-- dependency_links.txt
            |   `-- top_level.txt
            `-- bmaptools
                |-- BmapCopy.py
                |-- BmapCopy.pyc
                |-- BmapCreate.py
                |-- BmapCreate.pyc
                |-- BmapHelpers.py
                |-- BmapHelpers.pyc
                |-- Filemap.py
                |-- Filemap.pyc
                |-- TransRead.py
                |-- TransRead.pyc
                |-- __init__.py
                `-- __init__.pyc

When my build tries to invoke the bmaptool it fails because:

| Traceback (most recent call last):
|   File
"/SSD/build/fsl/build-wandboard-dual/tmp/sysroots/x86_64-linux/usr/bin/bmaptool",
line 65, in <module>
|     from bmaptools import BmapCreate, BmapCopy, BmapHelpers, TransRead
| ImportError: No module named bmaptools

Should I ignore "setuptools" and write my own install task? Or is there
some quick and easy fix for this?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-25 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-22 11:01 inherit setuptools Trevor Woerner
2014-03-22 19:45 ` Burton, Ross
2014-03-22 21:07   ` Trevor Woerner
2014-03-25 16:08   ` Trevor Woerner

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.