Andreas,
Yes, I can see the value behind issuing an error but the user would
also run into an import error when they tried to do anything further
requiring:
>>> import cairo
which would result in an ImportError exception. So I figured Mapnik
just shouldn't crash and pycairo availability could be left to the user.
But, fine either way really.
I've also added in trunk a mapnik.has_pycairo() function to check for
the availability of pycairo via mapnik. I plan to add hooks to use the
cairomm/cairo functionality via mapnik python without the need for
pycairo soon, so that function with balance the mapnik.has_cairo()
usage.
Anyway, let me know if you have any more thoughts.
Dane
--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org