ELIFE-ASU / PyInform

A Python Wrapper for the Inform Information Analysis Library
https://elife-asu.github.io/PyInform
MIT License
48 stars 9 forks source link

Add OS X support #15

Closed dglmoore closed 8 years ago

dglmoore commented 8 years ago

Supporting OS X at runtime was a snap. We simply added a branch in get_libdir to recognize the OS X platform and specify the path the the OS X inform binary. The path is predictable as the pyinform/inform-0.0.5 directory should have the same structure as the contents of inform-0.0.5_mixed.zip. We also updated the paths for the Linux and Windows binaries as they changed with the v0.0.5 release.

Instilling the binaries is pretty straightforward as well. We simply added the path of each to the inform_files variable in setup.py. We also added OS X to the list of supported platforms.

This merge will close #8 .