There's something really evil going on with duplicity and python2.5. Unfortunately the duplicity codebase seems to be a bit messy, and it was easier to just fix the build scripts :)
Here's a fix debian/{rules,control} and friends which forces a build against python2.4. It also uses "$(PYTHON)" instead of "python" to call the build scripts, so it might be easier to step back and forth with different python versions.
There's something really evil going on with duplicity and python2.5. Unfortunately the duplicity codebase seems to be a bit messy, and it was easier to just fix the build scripts :)
Here's a fix debian/ {rules, control} and friends which forces a build against python2.4. It also uses "$(PYTHON)" instead of "python" to call the build scripts, so it might be easier to step back and forth with different python versions.
Works for me.