开发者

Where to find/download lib rsvg for python on OSX

I'm looking to use the python library rsvg for converting an 开发者_JAVA技巧SVG graphic to other formats (mainly PDF) and cannot seem to find the python-librsvg source to download and install on Mac OSX anywhere. Any help?


I've finally found it. It's buried in a Macports package called gnome-python-desktop:

$ sudo port install gnome-python-desktop

Everything I can find suggests it is available nowhere else. Both this and this page say it is wrapped up in GNOME Desktop and is not stand-alone. Same deal on Linux (in Ubuntu the name of the package is python-gnome2-desktop). There is a package on GitHub that looks a bit more lightweight, but it is Windows-only.

I also discovered something else disturbing: this module hasn't been updated since 2005. So if possible, it would be best to stay well away from it. :-/


MacPorts has a version of it: http://www.macports.org/ports.php?by=name&substr=librsvg

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜