Re: [yocto] python & xml2

2018-04-28 Thread Russell Peterson
I created a bbappend file with the following: PYTHON_PN = "python" DEPENDS += "python" RDEPENDS_${PN}-ptest += "python-core" PYTHON_BASEVERSION = "2.7" PYTHON_DIR = "python2.7" Seems to work although I have not tested it yet… the library shows up in the correct site dir anyway. I would think

Re: [yocto] python & xml2

2018-04-28 Thread Burton, Ross
The recipe specifies that Python 3 is to be used. If you want to build it against Python 2 you'll have to patch the recipe. Ross On 28 April 2018 at 00:26, Russell Peterson wrote: > I am trying to install libxml2 for python2 in my image recipe. Seems like it > is

[yocto] python & xml2

2018-04-27 Thread Russell Peterson
I am trying to install libxml2 for python2 in my image recipe. Seems like it is being installed in the python3 site packages directory instead of the python2 site packages directory. While looking into this I have become very confused. Is there some documentation on this? Do I need to set