viff

changeset 1118:88d6a083a513

Improved install guide for Mac OS X, adding instructions for obtaining GMP
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Tue, 10 Mar 2009 08:59:38 +0100
parents 3fd216628718
children 622604a6d772 d3b49f2c8203
files doc/install.txt
diffstat 1 files changed, 26 insertions(+), 13 deletions(-) [+]
line diff
     1.1 --- a/doc/install.txt	Tue Mar 10 08:58:34 2009 +0100
     1.2 +++ b/doc/install.txt	Tue Mar 10 08:59:38 2009 +0100
     1.3 @@ -73,27 +73,40 @@
     1.4     Python-installation which comes with Mac OS X is not entirely
     1.5     up-to-date).
     1.6  
     1.7 -2) Download and Install Twisted_ from source. Notice again that Mac OS
     1.8 -   X comes with a pre-installed version of Twisted, but this is not
     1.9 -   the full Twisted installation. After installation change your
    1.10 -   ``PYTHONPATH`` (in your ``~/.bash_profile``) to::
    1.11 +2) Download and Install Twisted_ from source. There is an installer
    1.12 +  For Mac OS X 10.5 which can be used if you use Mac OS X 10.5. Notice
    1.13 +  again that Mac OS X comes with a pre-installed version of Twisted,
    1.14 +  but this is not the full Twisted installation. After installation
    1.15 +  change your ``PYTHONPATH`` (in your ``~/.bash_profile``) to::
    1.16  
    1.17 -      PATH="/Library/Python/2.5/site-packages:${PATH}"
    1.18 +      export PYTHONPATH="/Library/Python/2.5/site-packages:${PYTHONPATH}"
    1.19 +
    1.20 +      export PYTHONPATH=$PYTHONPATH:$HOME/opt/lib/python
    1.21  
    1.22  3) Optionally: download PyOpenSSL_ and tell us if it works!
    1.23  
    1.24 -4) Download and install GMPY_ following the instructions in
    1.25 +4) Download and install GMP_. you can preferably use the Macports or
    1.26 +  Fink package utilities. If you download the other dependencies from
    1.27 +  either Macports or Fink, they might depend on Python 2.4 which is
    1.28 +  not preferable, you should use Python 2.5, unless you have good
    1.29 +  reasons not to.
    1.30 +
    1.31 +5) Download and install GMPY_ following the instructions in
    1.32     ``gmpy-1.02.macosx.README.txt`` (under Downloads).
    1.33  
    1.34 -5) Install VIFF from source (see below). If you prefer you can just
    1.35 -   install it in site-packages, it makes no difference. For
    1.36 -   developers, it is perhaps a better solution in to create a symbolic
    1.37 -   link from the site-packages directory to the VIFF Python files
    1.38 -   (``viff/viff/``), as otherwise you need to re-install VIFF each time
    1.39 -   the project is modified.
    1.40 +6) Install VIFF from source (see below). If you prefer you can just
    1.41 +  install it in site-packages, it makes no difference.
    1.42  
    1.43 -6) Proceed to `testing`_.
    1.44 +  For developers, either add VIFF to the PYTHONPATH:
    1.45  
    1.46 +    export PYTHONPATH=$PYTHONPATH:$HOME/path-to-viff/viff
    1.47 +
    1.48 +  or create a symbolic link from the site-packages directory to the
    1.49 +  VIFF Python files (``viff/viff/``), as otherwise you need to
    1.50 +  re-install VIFF each time the project is modified.
    1.51 +
    1.52 +
    1.53 +7) Proceed to `testing`_.
    1.54  
    1.55  GNU/Linux
    1.56  ---------