andrew867 / epassportviewer

Automatically exported from code.google.com/p/epassportviewer
40 stars 11 forks source link

Running under OS X 10.10 #7

Open andrew867 opened 9 years ago

andrew867 commented 9 years ago

This is a work in progress, mostly personal notes.

brew tap homebrew/dupes brew install tcl-tk --enable-threads brew uninstall python brew install python --with-tcl-tk brew install python brew install libtiff libjpeg webp little-cms2 pip install Pillow pip install pyasn1 pip install reportlab sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install pycrypto

Now to install pyscard (http://ludovicrousseau.blogspot.ca/2014/07/pyscard-unofficial-version-1616.html) http://sourceforge.net/projects/pyscard/files/pyscard/pyscard%201.6.16/

Untar then: brew install swig sudo python setup.py build_ext install

andrew867 commented 9 years ago

If you get a "fatal error: 'freetype/fterrors.h' file not found" error:

ln -s /usr/local/include/freetype2 /usr/local/include/freetype