Author: bugman Date: Thu Jul 3 13:25:59 2014 New Revision: 24425 URL: http://svn.gna.org/viewcvs/relax?rev=24425&view=rev Log: Updated the Mac OS X framework setting up instruction document. New sections have been added for the nose and matplotlib Python packages, as nose is needed for the numpy and scipy testing frameworks and matplotlib might be a useful optional dependency in the future. The mpy4py section has been updated to avoid the non-framework fink version of mpicc which cannot produce universal binaries. A few other parts also have small edits. Modified: trunk/docs/Mac_framework_build_3way Modified: trunk/docs/Mac_framework_build_3way URL: http://svn.gna.org/viewcvs/relax/trunk/docs/Mac_framework_build_3way?rev=24425&r1=24424&r2=24425&view=diff ============================================================================== --- trunk/docs/Mac_framework_build_3way (original) +++ trunk/docs/Mac_framework_build_3way Thu Jul 3 13:25:59 2014 @@ -43,6 +43,16 @@ +# Nose. + +This is needed for numpy and scipy testing via the numpy.test() and scipy.test() functions. Download the latest version from https://pypi.python.org/pypi/nose, unpack it and type: + +$ ~/bin/python2.7 setup.py install + +Do not use pip or easy_install! + + + # Mpi4py. The deployment target platform, SDK root, and the architectures need to be set explicitly with environmental variables: @@ -53,7 +63,9 @@ This is probably because mpicc is dumber than gcc! Make sure that there is no 'build' directory prior to compilation. Finally, run: -$ ~/bin/python2.7 setup.py install +$ PATH=/usr/bin/:$PATH ~/bin/python2.7 setup.py install + +The PATH change is required here just in case the non-framework Fink mpicc compiler is installed. @@ -98,7 +110,7 @@ -# wxPython 2.9. +# wxPython >= 2.9. Download and unpack the latest source release. In the base directory, type: @@ -109,11 +121,11 @@ # SCons. -Download and unpack the latest 2.x.x release, then type: +Download and unpack the latest release, then type: $ ~/bin/python2.7 setup.py install $ cd ~/bin -$ ln -s /Users/edward/Library/Frameworks/Python.framework/Versions/2.7/bin/scons-2.x.x scons +$ ln -s /Users/edward/Library/Frameworks/Python.framework/Versions/2.7/bin/scons scons Then edit the scons file and change the top of the file from: @@ -130,8 +142,17 @@ # + # Py2app. This is needed to create the universal binary DMG distribution file. Download the latest version from https://pypi.python.org/pypi/py2app/. Then open it and: $ ~/bin/python2.7 setup.py install + + + +# Matplotlib. + +This might be used more in relax in the future. Download the latest version and then: + +$ ~/bin/python2.7 setup.py install