[OE-core] [PATCH 1/4] python: Restructure python packaging and replace it with autopackaging
Alejandro Hernandez
alejandro.hernandez at linux.intel.com
Fri Nov 24 23:49:39 UTC 2017
Hey Ross,
It is briefly explained:
- Sitecustomize was fixed since encoding was deprecated.
On 11/24/2017 10:57 AM, Burton, Ross wrote:
> diff --git a/meta/recipes-devtools/python/python/sitecustomize.py
> b/meta/recipes-devtools/python/python/sitecustomize.py
>
> index 273901898a0..4c8b5e2ba3d 100644
> --- a/meta/recipes-devtools/python/python/sitecustomize.py
> +++ b/meta/recipes-devtools/python/python/sitecustomize.py
> @@ -27,19 +27,11 @@ def __enableReadlineSupport():
> except IOError:
> pass
>
> -def __enableDefaultEncoding():
> - import sys
> - try:
> - sys.setdefaultencoding( "utf8" )
> - except LookupError:
> - pass
> -
> import sys
> try:
> import rlcompleter, readline
> except ImportError:
> pass
> else:
> - __enableDefaultEncoding()
> __registerExitHandler()
> __enableReadlineSupport()
>
>
> This change isn't explained in the commit log.
>
> Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20171124/6a1b1b83/attachment-0002.html>
More information about the Openembedded-core
mailing list