Files
poky/meta/recipes-devtools
Gary Thomas 4a0720fd32 python: fix packaging dependencies on minimal systems
If you install the top-level python package only on a minimal
system which has no other python packages installed then python
is not functional at all.  Without any extra packages installed
this error is seen:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 64, in <module>
      import traceback
  ImportError: No module named traceback

Installing python-lang only partly fixes the problem as this
error still exists:
  # python
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 569, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 551, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 243, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 400, in get_config_vars
      import re
  ImportError: No module named re

(From OE-Core rev: c239564c768d0f305d8707103f4c59cf60431670)

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-26 12:13:05 +01:00
..
2012-03-19 20:28:46 +00:00
2012-01-03 12:14:25 +00:00
2012-01-03 12:14:31 +00:00
2012-03-13 11:45:09 +00:00
2012-03-21 15:33:03 +00:00
2012-02-28 12:27:46 +00:00
2012-03-19 14:37:40 +00:00
2012-02-26 22:51:58 +00:00
2011-07-20 15:27:36 +01:00
2011-07-01 23:27:29 +01:00
2012-01-03 12:14:31 +00:00
2011-11-29 11:22:04 +00:00
2012-01-19 11:34:07 +00:00
2012-03-19 14:37:43 +00:00
2011-05-19 20:51:38 +01:00
2012-03-13 23:18:46 +00:00
2011-06-23 12:07:31 +01:00
2012-01-17 14:53:25 +00:00
2012-03-14 13:03:10 +00:00
2012-03-16 10:40:32 +00:00
2011-10-14 13:18:18 +01:00
2012-02-03 15:56:38 +00:00
2012-03-16 16:47:44 +00:00
2011-12-08 15:24:32 +00:00
2011-12-02 15:14:02 +00:00
2010-12-23 15:52:06 +00:00