22 |
|
|
23 |
\subsection{Stand-alone bundle \macosx 10.5.6 (``Leopard'')} |
\subsection{Stand-alone bundle \macosx 10.5.6 (``Leopard'')} |
24 |
|
|
25 |
Download the bundle, double-click on it and copy \filename{stand} anywhere you want. |
You will need to download both escript (\filename{escript_3.0_osx.dmg}) and the support files (\filename{escript-support_3.0_osx.dmg}). |
26 |
Then 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 |
\begin{itemize} |
27 |
\begin{shellCode} |
\item Create a folder to hold escript (no spaces in the name please). |
28 |
cd x/stand |
\item Open the \filename{.dmg} files and copy the contents to the folder you just created. |
29 |
\end{shellCode} |
\end{itemize} |
|
where \textit{x} is the absolute path to your install. |
|
|
Now type |
|
|
\begin{shellCode} |
|
|
./install.sh |
|
|
\end{shellCode} |
|
|
which will make some changes to your dynamic libraries to take into account their current location. Remember, you have to do this only once, when you just copied from our bundle. This procedure will not work if you decide to move your already working bundle into another folder. You have to copy it from our bundle again into your desired new location. |
|
30 |
|
|
31 |
Test your installation by running: |
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 |
32 |
\begin{shellCode} |
\begin{shellCode} |
33 |
x/stand/escript.d/bin/escript |
cd x/escript.d/bin/escript |
34 |
\end{shellCode} |
\end{shellCode} |
35 |
You should get a normal python shell. |
where \textit{x} is the absolute path to your install. |
36 |
|
|
37 |
If you wish to save on typing you can add \filename{x/escript.d/bin} to your PATH variable (where \textit{x} is the absolute path to your install). |
If you wish to save on typing you can add \filename{x/escript.d/bin} to your PATH variable (where \textit{x} is the absolute path to your install). |
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
% Now type |
42 |
|
% \begin{shellCode} |
43 |
|
% ./install.sh |
44 |
|
% \end{shellCode} |
45 |
|
% which will make some changes to your dynamic libraries to take into account their current location. Remember, you have to do this only once, when you just copied from our bundle. This procedure will not work if you decide to move your already working bundle into another folder. You have to copy it from our bundle again into your desired new location. |
46 |
|
% |
47 |
|
% Test your installation by running: |
48 |
|
% \begin{shellCode} |
49 |
|
% x/stand/escript.d/bin/escript |
50 |
|
% \end{shellCode} |
51 |
|
% You should get a normal python shell. |
52 |
|
% |