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

Charles Manning cdhmanning at gmail.com
Thu Apr 7 23:51:43 UTC 2011


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?

Thanks

Charles




More information about the Openembedded-devel mailing list