[oe] How do I install python modules for use within recipes?

Charles Manning cdhmanning at gmail.com
Fri Apr 8 00:53:00 UTC 2011


Thanks

What's the story with org.openembedded.dev/contrib/python/generate-manifest*

Do I have to modify that?

--Charles


On Fri, Apr 8, 2011 at 12:07 PM, Robert Foerster <robert at erafx.com> wrote:
> On Thu, Apr 7, 2011 at 7:51 PM, Charles Manning <cdhmanning at gmail.com>wrote:
>
>> Hi
>>
>> I have a project which uses python as part of the building process to
>> generate some C code from some XML which is then later compiled.
>>
>> The python script uses the python lxml module.
>>
>> My recipe has a do_compile as follows:
>>
>> do_compile() {
>>        cd ${S}/
>>        make -f Gencode.mk
>>        make
>> }
>>
>> During the make -f Gencode.mk, the python script which imports lxml
>> fails to do so and fails.
>>
>> Question: How do I instruct OE to set up the lxml module and make it
>> available here?
>>
>>
> I don't see a recipe for python-lxml-native, so you'll likely have to make
> one (and then make your recipe depend on it to ensure it's built and
> available).
>
> There are several other python-*-native modules in OE, take a look at what
> they're doing.
> http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/python
>
>
>
>
>> Thanks
>>
>> Charles
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list