Re: [yocto] How to add a module to python-native

2018-03-27 Thread Burton, Ross
Please remember to send to the list. On 26 March 2018 at 22:16, Ulf Samuelsson wrote: > I do not see however why "inherit pythonnative" would make python-restkit > importable. Why is that? > > My python script start with > #!/usr/bin/python > > Does that mean that I use host

Re: [yocto] How to add a module to python-native

2018-03-26 Thread Burton, Ross
You'll need to run $bindir_native/python/python, we isolate the native Python from the host python so you need to invoke the native one explicitly. In a recipe you can just do inherit pythonnative, but don't do that in a class which every recipe is inheriting! Ross On 26 March 2018 at 21:01,

[yocto] How to add a module to python-native

2018-03-26 Thread Ulf Samuelsson
Need some advice on how to extend python-native with a python-2.7 module. I am planning to upload the result of cve-check to our JIRA server. I wrote a python application which reads the CVE manifest, downloads the contents of a JIRA project and if a CVE issue is not present in the database, it