[oe] Including python libs
Martin Jansa
martin.jansa at gmail.com
Fri Dec 30 15:39:35 UTC 2011
On Fri, Dec 30, 2011 at 08:26:25AM -0700, itodroid wrote:
> Greetings all!
>
> I'm having a little trouble figuring out the "right" way to include some
> extra python libraries into a recipe, and for the life of me, I cannot
> figure it out. I'm using Python2.6 and I have a few python scripts that
> depend on httplib. I've found that httplib.py is contained within
> "python-2.6.6-ml12.2".
>
> In my recipe, I've tried "include python-2.6.6ml12.2" and also "DEPEND +=
> python-2.6.6ml12.2", neither of which actually include the
> /usr/lib/python2.6/<python libs> into my rootfs.
>
> I believe that httplib is part of python-netclient which appears to be
> provided by python-2.6-manifest.inc. I've also tried including this
> manifest file into my recipe, but still, I cannot get the libraries into my
> rootfs.
>
> Can anyone provide some insight as to what I'm doing wrong? Thanks in
> advance.
If it's part of python itself then
RDEPENDS_${PN} += "python"
if it's in python-netclient then
RDEPENDS_${PN} += "python-netclient"
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20111230/f206e9d5/attachment-0002.sig>
More information about the Openembedded-devel
mailing list