Changeset 2514


Ignore:
Timestamp:
05/14/12 15:03:22 (12 years ago)
Author:
Malte Marquarding
Message:

Updated INSTALL and renamed to README

Location:
trunk
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/COPYING

    r1473 r2514  
    1 Copyright (C) 2004-2009
     1Copyright (C) 2004-2012
    22CSIRO
    33
  • trunk/README

    r2509 r2514  
    55* rpfits >= 2.19
    66* cfitso >= 2
    7 * python >= 2.4
    8 * boost >= 1.37
    9 * casacore >= 1.0
     7* python >= 2.5
     8* boost >= 1.40
     9* casacore >= 1.5
     10* wcslib >= 4.13
    1011
    1112Installation
    1213============
    1314
    14 scons has several targets. It is recommended to execute them sequentially.
    15 The normal install procedure is as follows
    16 .. code::
     15ASAP is based on c++ and python. It uses python's standard packaging tool
     16to build and install::
    1717
    18    scons
    19    scons makedist=1
    20    cd asap-4.1.0
    2118   python setup.py install
    22    asap # exit with <Ctrl-D>
     19
     20If the dependencies are in custom locations there are two ways to build
     21ASAP:
     22
     23 * edit the file 'setup.cfg' then run 'python setup.py install'
     24 * give command-line parameters; run 'python setup.py build_ext' with the
     25   options and then 'python setup.py install'
     26   (see python setup.py build_ext --help for the available options)
     27
     28Note: The installation must be done as 'root' or using 'sudo'
    2329
    2430Obtaining the data directory
    2531============================
    2632
     33ASAP needs some meta-data which updates periodically.
    2734The data repository can be obtained separately after installing ASAP.
    28 Before you run asap for the first time simply run::
     35Run as root (sudo)::
    2936
    3037    asap_update_data
     
    3542==============================
    3643
    37 after building using 'scons', you can create a compressed tarball of the binaries. This is done via the target 'makedist='. The argument should be an obvious identifier for the system you want to support, e.g. 'sarge' or 'fc5-x86_64'::
     44You can make a binary distribution for you platform by running::
    3845
    3946    python setup.py bdist_egg
    4047
    41 This will create an archive in the subdirectory 'dist' named 'asap-X.Y.Z-py2.Negg', where X,Y,Z are the version numbers e.g 4.1.0.
     48This will create an 'egg' archive in the subdirectory 'dist'.
     49Send this to asap@atnf.csiro.au so other people can share it.
     50
Note: See TracChangeset for help on using the changeset viewer.