Thanks Ross and Jussi,

python3native works in the short term and in the longer term I will look into 
distutils/setuptools.

Cheers,
Chris

________________________________
From: Burton, Ross <ross.bur...@intel.com>
Sent: 05 May 2017 10:43
To: Chris Trobridge
Cc: Yocto List
Subject: Re: [yocto] Pre-compiling Python Byte Code


On 3 May 2017 at 19:50, Chris Trobridge 
<christrobri...@hotmail.com<mailto:christrobri...@hotmail.com>> wrote:

The following works, as it uses the native python3 compiled by bitbake but it 
feels a little contrived.  Is there a better way of specifying the native 
python3 interpreter, or a better way of getting my python byte code compiled 
prior to generating the packages?

If you inherit python3native then "python3" will be the native python3.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to