only here the import is done relatively, not through pyanaconda since that pulls in isys which is not yet at the correct location during build-time (and build thus fails). --- data/Makefile.am | 3 +-- scripts/getlangnames.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index 083be50..c9fbc60 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -32,5 +32,4 @@ dist_lang_DATA = lang-table MAINTAINERCLEANFILES = Makefile.in lang-names: lang-table - PYTHONPATH="$(top_srcdir)/:$(top_srcdir)/isys/.libs" $(PYTHON) ../scripts/getlangnames.py > lang-names - + PYTHONPATH="$(top_srcdir)/pyanaconda" $(PYTHON) ../scripts/getlangnames.py > lang-names diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py index 5af8d0f..877ee72 100644 --- a/scripts/getlangnames.py +++ b/scripts/getlangnames.py @@ -19,7 +19,7 @@ import sys sys.path.append("..") -import pyanaconda.language as language +import language as language import gettext -- 1.7.0.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list