[OE-core] [PATCH] python*native.bbclass: suppress user site dirs

2017-09-12 Thread Martin Kelly
Currently, $HOME/.local is being added into sys.path for the native Python, causing subtle host contamination. Suppress this by exporting PYTHONNOUSERSITE = "1" as documented in PEP 370. Signed-off-by: Martin Kelly --- meta/classes/python3native.bbclass | 3 +++ meta/classes/pythonnative.bbclass

Re: [OE-core] [PATCH] python*native.bbclass: suppress user site dirs

2017-09-12 Thread Khem Raj
On Tue, Sep 12, 2017 at 2:03 PM Martin Kelly wrote: > Currently, $HOME/.local is being added into sys.path for the native > Python, causing subtle host contamination. Suppress this by exporting > PYTHONNOUSERSITE = "1" as documented in PEP 370. > LGTM > > Signed-off-by: Martin Kelly > --- > m