[OE-core] [master][RFC] Adding back wrapper and using OEPYTHON3HOME variable for python3

2019-04-26 Thread Jaewon Lee
Adding back the python wrapper and adding a patch to use OEPYTHON3HOME instead of PYTHONHOME if set, for python3. If we add back the wrapper as is, we would see the following error that we also see in Thud: ImportError: No module named site OpenEmbedded requires 'python' to be python v2 (>=

Re: [OE-core] [master][RFC] Adding back wrapper and using OEPYTHON3HOME variable for python3

2019-04-25 Thread Jaewon Lee
Subject: Re: [OE-core][master][RFC] Adding back wrapper and using OEPYTHON3HOME variable for python3 On Thu, 2019-04-25 at 12:56 -0700, Jaewon Lee wrote: > +diff --git a/Modules/main.c b/Modules/main.c index a745381..25ca435 > +100644 > +--- a/Modules/main.c > b/Modules/main.c &

Re: [OE-core] [master][RFC] Adding back wrapper and using OEPYTHON3HOME variable for python3

2019-04-25 Thread richard . purdie
On Thu, 2019-04-25 at 12:56 -0700, Jaewon Lee wrote: > +diff --git a/Modules/main.c b/Modules/main.c > +index a745381..25ca435 100644 > +--- a/Modules/main.c > b/Modules/main.c > +@@ -1857,6 +1857,11 @@ config_init_home(_PyCoreConfig *config) > + } > + > + int res =