tags 547827 + patch thanks Hi!
Please find attached a patch to fix this bug. HTH, and thanks. Kumar
diff -Nru --exclude changelog kodos-2.4.9/debian/rules kodos-2.4.9/debian/rules --- kodos-2.4.9/debian/rules 2009-10-14 17:55:14.000000000 -0500 +++ kodos-2.4.9/debian/rules 2009-10-14 17:55:14.000000000 -0500 @@ -8,6 +8,10 @@ PYDEF := $(shell pyversions -d) +include /usr/share/python/python.mk + +SITEDIR = $(call py_sitename, $(PYDEF)) + CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) @@ -48,10 +52,10 @@ dh_testroot dh_clean -k dh_installdirs - python setup.py install --prefix=$(CURDIR)/debian/kodos/usr + python setup.py install --prefix=$(CURDIR)/debian/kodos/usr $(py_setup_install_args) -find debian/kodos -name '*.py[co]' | xargs rm -f mkdir -p debian/kodos/usr/share/kodos/modules - mv debian/kodos/usr/lib/$(PYDEF)/site-packages/kodos/modules/* \ + mv debian/kodos/usr/lib/$(PYDEF)/$(SITEDIR)/kodos/modules/* \ debian/kodos/usr/share/kodos/modules/. rm -rf debian/kodos/usr/lib mv debian/kodos/usr/bin/kodos.py debian/kodos/usr/bin/kodos