6

I'm looking to use the python library rsvg for converting an 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?

simoes
  • 4,897
  • 4
  • 23
  • 28

2 Answers2

4

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. :-/

Community
  • 1
  • 1
Neil Traft
  • 18,367
  • 15
  • 63
  • 70
0

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

Ned Deily
  • 83,389
  • 16
  • 128
  • 151
  • That's the Gnome library, not the python bindings to it. – Neil Traft Jul 27 '12 at 02:02
  • Ah, sorry, the MacPorts portfile for librsvg has python27 as a dependency which I assumed was for the bindings. Presumably you would still need to install the library in any case. – Ned Deily Jul 27 '12 at 05:34