Re: [gexiv2] Installation on OSX



Hello,
i would suggest to have a look at Ghiro project[1], we wrote a library for what you are asking for[2], it is 
also open source code so you can use it according to gpl license.

[1] http://www.getghiro.org/
[2] https://github.com/Ghirensics/ghiro/blob/master/plugins/processing/gexiv.py

Regards,
Alessandro Tanasi (@jekil)




On 27 Jan 2016, at 12:09, Simon Bächler <b chler com> wrote:

Hi

I am working on a library where I need to extract XMP metadata from an image file with Python. I’m 
currently using PyExiv2 but this library is deprecated and the authors suggest moving to Gexiv2.

I am having trouble installing gexiv2 and its Python wrapper on Mac OSX. Unfortunately the help links on 
the gexif2 Python support page are dead.

There is a homebrew command for gexiv2, but on my system it hangs during the installation step. Verbose 
mode shows that the g-ir-scanner doesn’t complete. Also, the python bindings are not being built when using 
the homebrew formula.

The compilation works when I clone the repo and build it myself. The python bindings were only built after 
I installed pygtk. (It would have been nice if this was mentioned in the docs somewhere.)
The installer seems to correctly install the package in 
'/usr/local/lib/python2.7/site-packages/gi/overrides‘.
But even then I am unable to import the module in Python. 

from gi.repository import GExiv2 fails with 'ImportError: cannot import name GExiv2‘.

Has anyone managed to get this to work on a Mac?


Best regards

Simon

_______________________________________________
gexiv2-list mailing list
gexiv2-list gnome org
https://mail.gnome.org/mailman/listinfo/gexiv2-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]