1 |
jfenwick |
2289 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2 |
|
|
% |
3 |
jfenwick |
3911 |
% Copyright (c) 2003-2012 by University of Queensland |
4 |
jfenwick |
2289 |
% Earth Systems Science Computational Center (ESSCC) |
5 |
|
|
% http://www.uq.edu.au/esscc |
6 |
|
|
% |
7 |
|
|
% Primary Business: Queensland, Australia |
8 |
|
|
% Licensed under the Open Software License version 3.0 |
9 |
|
|
% http://www.opensource.org/licenses/osl-3.0.php |
10 |
|
|
% |
11 |
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
12 |
|
|
|
13 |
caltinay |
2536 |
\section{\macosx binary installation} |
14 |
artak |
2321 |
\label{sec:binmac} |
15 |
|
|
|
16 |
jfenwick |
3970 |
The standalone release for OSX has been tested on \macosx 10.5 (``Leopard'')\footnote{It \emph{should} work on |
17 |
|
|
``Snow Leopard'' but has not been tested.} and 10.7 (``Lion''). |
18 |
artak |
2321 |
|
19 |
jfenwick |
3970 |
You will need to download both escript (\file{escript_3.4_osx.dmg}) and the support files (\file{escript-support_3.0_osx.dmg}). |
20 |
|
|
This point release uses the same support bundle as previous releases so if you already have it you don't need a new version. |
21 |
|
|
You will also need to download the sympy source code from \url{sympy.org} (You are looking for a \texttt{.tar.gz} file). |
22 |
artak |
2321 |
|
23 |
jfenwick |
2602 |
\begin{itemize} |
24 |
|
|
\item Create a folder to hold escript (no spaces in the name please). |
25 |
jfenwick |
3322 |
\item Open the \file{.dmg} files and copy the contents to the folder you just created. |
26 |
jfenwick |
3970 |
\item Copy the sympy file into the same directory. |
27 |
jfenwick |
2602 |
\end{itemize} |
28 |
|
|
|
29 |
jfenwick |
3335 |
To use escript, open a terminal\footnote{If you do not know how to open a terminal on Mac, then just type \texttt{terminal} in the spotlight (search tool on the top of the right corner) and once found, just click on it.} and type |
30 |
artak |
2321 |
\begin{shellCode} |
31 |
jfenwick |
3970 |
eval `x/escript.d/bin/run-escript -e` |
32 |
artak |
2321 |
\end{shellCode} |
33 |
jfenwick |
2602 |
where \textit{x} is the absolute path to your install. |
34 |
artak |
2321 |
|
35 |
jfenwick |
3970 |
\noindent Now we need to install sympy (substitue the version number of sympy you have): |
36 |
|
|
\begin{shellCode} |
37 |
|
|
tar -xzf sympy-0.7.1.tar.gz |
38 |
|
|
cd sympy-0.7.1 |
39 |
|
|
python setup.py install --prefix ../stand/pkg |
40 |
|
|
\end{shellCode} |
41 |
|
|
|
42 |
|
|
You cay test your install with: |
43 |
|
|
\begin{shellCode} |
44 |
|
|
run-escript |
45 |
|
|
\end{shellCode} |
46 |
|
|
|
47 |
|
|
You may now remove the sympy files from the starting directory and ``eject'' the \texttt{.dmg} files. |
48 |
|
|
|
49 |
jfenwick |
3322 |
If you wish to save on typing you can add \file{x/escript.d/bin} to your PATH variable (where \textit{x} is the absolute path to your install). |
50 |
artak |
2321 |
|