[OE-core] [PATCH 1/4] python: Restructure python packaging and replace it with autopackaging

Burton, Ross ross.burton at intel.com
Fri Nov 24 16:57:04 UTC 2017


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/02d369d7/attachment-0002.html>


More information about the Openembedded-core mailing list