kartograph/kartograph.py — pull request #29 by herrstucki (2012-03-21 17:34:24+00:00)
Title: Fixed Install on OS X 10.7 + CLI options

Sorry about the double pull request, I couldn't figure out how to limit the commit range …

A note for the CLI fix: A call to

kartograph svg config.yaml -o map.svg

didn't parse the -o option, thus always generating a tmp.svg and trying to open it with the firefox command (which generates an error if you don't have it).

I fixed this but now you can't mix

kartograph svg config.yaml -o map.svg

with

kartograph svg -c config.yaml -o map.svg

I don't really know what makes the most sense for the API.

Cheers!