Skip to contentSkip to conversation

Python Math Module

DISCUSSION Pedro Algarvio 4 participants 5 messages Jan 2, 2012 – Sep 9, 2013

lore
Share & tools
lore
#0 lore raw

I've started to port the Mini2440 openembedded layer found at
http://code.google.com/p/mini2440/ and also PySide from Angstrom or the old OpenEmbedded layers I think(can't remember now).

My layers can be found at http://dev.ufsoft.org/projects/yocto

I found out while porting PySide's examples that python does not ship with it's math module, is there a specific reason why?

I need to add that I'm pretty new to all this, so I might be doin' things the wrong way...

Anyway, any pointers on how to add the python's math module to an image is more than welcome, I'd like to include it as a dependency for the pyside examples bb script.

#1 lore raw
Quoted 8 lines · Pedro Algarvio

I've started to port the Mini2440 openembedded layer found at
http://code.google.com/p/mini2440/ and also PySide from Angstrom or the old OpenEmbedded layers I think(can't remember now).

My layers can be found at http://dev.ufsoft.org/projects/yocto

I found out while porting PySide's examples that python does not ship with it's math module, is there a specific reason why?

add RDEPENDS_${PN} += "python-math" to your pyside recipe

Quoted 11 lines

I need to add that I'm pretty new to all this, so I might be doin' things the wrong way...

Anyway, any pointers on how to add the python's math module to an image is more than welcome, I'd like to include it as a dependency for the pyside examples bb script.
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Signature · 1 line
-Khem
#2 lore raw

First of all, Thanks!

So basically, for a smaller space, python is split into several packages, how can I known which packages exist?

Look at it's recipe?

Best Regards,
Pedro Algarvio.

Quoted 24 lines · Khem Raj
Quoted 8 lines · Pedro Algarvio

I've started to port the Mini2440 openembedded layer found at
http://code.google.com/p/mini2440/ and also PySide from Angstrom or the old OpenEmbedded layers I think(can't remember now).

My layers can be found at http://dev.ufsoft.org/projects/yocto

I found out while porting PySide's examples that python does not ship with it's math module, is there a specific reason why?

add RDEPENDS_${PN} += "python-math" to your pyside recipe

Quoted 11 lines

I need to add that I'm pretty new to all this, so I might be doin' things the wrong way...

Anyway, any pointers on how to add the python's math module to an image is more than welcome, I'd like to include it as a dependency for the pyside examples bb script.
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#3 lore raw
Quoted 6 lines · Pedro Algarvio

First of all, Thanks!

So basically, for a smaller space, python is split into several packages, how can I known which packages exist?

Look at it's recipe?

Usually yes, in this case it's a bit more complicated, because important line in recipe
require python-${PYTHON_MAJMIN}-manifest.inc

and in meta/recipes-devtools/python/python-2.7-manifest.inc you'll find python-math and other python subpackages

Cheers,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#4 lore raw
Quoted 7 lines · Martin Jansa
Quoted 4 lines · Pedro Algarvio

First of all, Thanks!

So basically, for a smaller space, python is split into several packages, how can I known which packages exist?

Hi

bitbake -e python | grep "PACKAGES"

Correct?

Good luck

PF: testing post.gname.org