Skip to content

Commit

Permalink
Re #8150. Add a variant of the README for Mountain Lion.
Browse files Browse the repository at this point in the history
And use it if building on that OS version.
  • Loading branch information
RussellTaylor committed Oct 17, 2013
1 parent ffc98eb commit f64cf4b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Code/Mantid/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ if ( ENABLE_CPACK )
include ( CPackCommon )

# Mac Packagemaker settings
set ( CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/Installers/MacInstaller/MacOSX-README.rtf )
if (OSX_VERSION VERSION_LESS 10.8)
set ( CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/Installers/MacInstaller/MacOSX-README.rtf )
else()
set ( CPACK_RESOURCE_FILE_README ${CMAKE_SOURCE_DIR}/Installers/MacInstaller/MacOSX10-8-README.rtf )
endif ()
set ( CPACK_RESOURCE_FILE_LICENSE ${CMAKE_SOURCE_DIR}/Installers/WinInstaller/License.rtf )

IF ( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
Expand Down
41 changes: 41 additions & 0 deletions Code/Mantid/Installers/MacInstaller/MacOSX10-8-README.rtf
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{\rtf1\ansi\ansicpg1252\cocoartf1187\cocoasubrtf390
\cocoascreenfonts1{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;}
{\colortbl;\red255\green255\blue255;}
{\info
{\author Russell Taylor}}\paperw11900\paperh16840\margl1440\margr1440\vieww12500\viewh13720\viewkind1
\deftab720
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardeftab720\ri0

\f0\b\fs24 \cf0 Install instructions for MantidPlot on OS X\
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardeftab720\ri0
\b0 \cf0 \
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardeftab720\ri0

\b \cf0 Requirements
\b0 :-\
\
An Intel based Mac with OS X 10.8 (Mountain Lion) or above. \
An admin password for the aforementioned computer.\
\
If you are running Snow Leopard (10.6) or Lion (10.7), please download and install the 'mantid-
\i version
\i0 -SnowLeopard.dmg' package instead.\
\
The Mac install of Mantid will install into the /Applications/MantidPlot.app directory. The sole requirement is the version of python 2.7 which ships with Mountain Lion.\
\

\b To start MantidPlot
\b0 :-\
\
1. Use spotlight to locate the application MantidPlot, or\
2. Navigate to Applications and click on the MantidPlot icon \
\

\b To import Mantid within Python
\b0 :-\
\
You need to add
\f1 /Applications/MantidPlot.app/Contents/MacOS
\f0 to both your PYTHONPATH & DYLD_LIBRARY_PATH environment variables.\
Mantid will then be available if starting python (2.7) from a terminal, either via an "import mantid" or by directly running scripts that do this.}

0 comments on commit f64cf4b

Please sign in to comment.