Krzysztof Klimonda wrote:
> It also contain fixes needed to build package with Python 2.6 and some
> code clean up (simplified debian/rules file, versioned dependency in
> debian/control, fixes for few lintian warnings).

Thanks for the patch. I am preparing an upload, but when testing it fails
for Python 2.5 since it installs into
/usr/lib/python2.5/dist-packages/cfv.py

dist-packages should be used for Python 2.6, but is not in sys.path for
python 2.5.

The cause of the problem seems to be

mkdir -p debian/cfv/usr/lib/$(shell pyversions -d)/$(call py_sitename, $*)

where py_sitename returns 'dist-packages' instead of 'site-packages'
(which is in the 2.5 sys.path). I'm unsure where $* gets assigned the
current python version; it seems to be empty, causing py_sitename to give
the default 'dist-packages'. Replacing $* with 2.5 makes the package work,
but I dont want to hard code it to a specific version.

So instead I used

mkdir -p debian/cfv/usr/lib/$(shell pyversions -d)/$(call py_sitename,
$(shell pyversions -d))

which seems to work fine, and python-support also picks up the module and
does its magic.

Regards,
 Stefan




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to