I just realised that there is a libpython-all-dev. Use that package to avoid the 2.7 hardcoded version.
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org