Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
In which I finally get pyexiv2 working on my Mac using Homebrew and a series of disgusting hacks
brew install python boost exiv2
curl -O
tar xjvf pyexiv2-0.3.0.tar.bz2
cd pyexiv2-0.3.0
echo "env['FRAMEWORKS'] += ['Python']" >> src/SConscript
scons BOOSTLIB=boost_python-mt
install_name_tool -change /System/Library/Frameworks/Python.framework/Versions/2.6/Python \
/usr/local/Cellar/python/2.7.1/lib/libpython2.7.dylib \
scons BOOSTLIB=boost_python-mt install
ln -s /usr/local/Cellar/python/2.7.1/lib/python2.7/site-packages/libexiv2python.dylib \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment