tags 547820 + patch thanks Hi!
Please find attached a patch to fix this bug. HTH, and thanks. Kumar
diff -Nru --exclude changelog gadfly-1.0.0/debian/rules gadfly-1.0.0/debian/rules --- gadfly-1.0.0/debian/rules 2009-10-17 12:19:33.000000000 -0500 +++ gadfly-1.0.0/debian/rules 2009-10-17 12:19:33.000000000 -0500 @@ -9,6 +9,8 @@ kjb_version=1:$${Source-Version} +include /usr/share/python/python.mk + build: build-indep build-arch build-indep: build-indep-stamp @@ -57,10 +59,9 @@ for v in $(PYVERSIONS); do \ python$$v setup.py install_lib --install-dir \ - debian/python-gadfly/usr/lib/python$$v/site-packages \ + debian/python-gadfly/usr/lib/python$$v/$(call py_sitename_sh, $$v) \ --no-compile || exit 1; \ done - : # gadfly /usr/bin/python setup.py install_scripts \ --install-dir debian/gadfly/usr/bin @@ -92,7 +93,7 @@ cd kjbuckets && \ for v in $(PYVERSIONS); do \ python$$v setup.py install \ - --root $(CURDIR)/debian/python-kjbuckets || exit 1; \ + --root $(CURDIR)/debian/python-kjbuckets $(py_setup_install_args) || exit 1; \ done dh_installchangelogs -a CHANGES.txt dh_installdocs -a doc/kjbuckets.txt