-
Notifications
You must be signed in to change notification settings - Fork 7
Building an OSX distribution
George Dietz edited this page Nov 15, 2015
·
3 revisions
Easy:
- Run ./make_mac_build from WITHIN the src folder and that will do everything aside from making the executable have the right icon.
- Change app icon to that of the .icns file in the images subdirectory. If necessary, you can build the mac icon using the free Graphics Tools obtainable via Xcode->xcode menu->Open developer tools->more developer tools. Then, use the Icon composer.
The app will be in the 'frozen' directory one level up from the source directory.
Notes:
- There is a function in open_mee_mac.py that creates pangorc with the path to pango.modules as required at run-time. This solved a problem where the text in graphs produced by R showed up as boxes.
- Without the r_tmp folder in the same directory as the app, R will not be able to make graphs
- These instructions were written while building a system where all the development stuff was installed using macports. (R, rpy2, PyQt4, python)
- Make sure you package the zip file you release with the app, sample_data, and r_tmp folder
note 2015-09-22: Only the py2app mac build process seems to be working: ./make_mac_build_py2app