The removed line was not necessary for installed Python scripts, which
sets Python path through the relocation preamble, and it wrongly made
non-installed scripts try to load installed Python modules instead of
modules in $(top-build-dir)/python/$(outconfbase).
while datadir[-1] == os.sep:
datadir= datadir[:-1]
-sys.path.insert (0, os.path.join (datadir, 'python'))
-
-
# Python 2.5 only accepts strings with proper Python internal encoding
# (i.e. ASCII or Unicode) when writing to stdout/stderr, so we must
# use ugettext iso gettext, and encode the string when writing to