All of lore.kernel.org
 help / color / mirror / Atom feed
* Including python libs
@ 2011-12-30 15:26 itodroid
  2011-12-30 15:39 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: itodroid @ 2011-12-30 15:26 UTC (permalink / raw)
  To: openembedded-devel

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.




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

* Re: Including python libs
  2011-12-30 15:26 Including python libs itodroid
@ 2011-12-30 15:39 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2011-12-30 15:39 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 1143 bytes --]

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@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

end of thread, other threads:[~2011-12-30 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-30 15:26 Including python libs itodroid
2011-12-30 15:39 ` Martin Jansa

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.