source: trunk/README@ 2520

Last change on this file since 2520 was 2514, checked in by Malte Marquarding, 13 years ago

Updated INSTALL and renamed to README

File size: 1.2 KB
RevLine 
[1194]1Requirements
2============
3
[1463]4* scons >= 1.1
5* rpfits >= 2.19
6* cfitso >= 2
[2514]7* python >= 2.5
8* boost >= 1.40
9* casacore >= 1.5
10* wcslib >= 4.13
[1194]11
12Installation
13============
14
[2514]15ASAP is based on c++ and python. It uses python's standard packaging tool
16to build and install::
[1436]17
[2484]18 python setup.py install
[1194]19
[2514]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'
29
[1194]30Obtaining the data directory
31============================
[1436]32
[2514]33ASAP needs some meta-data which updates periodically.
[1404]34The data repository can be obtained separately after installing ASAP.
[2514]35Run as root (sudo)::
[1436]36
[1194]37 asap_update_data
[1436]38
[1194]39This will install the data repository into the correct location.
40
41Creating a binary distribution
42==============================
43
[2514]44You can make a binary distribution for you platform by running::
[1194]45
[2484]46 python setup.py bdist_egg
[1194]47
[2514]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 TracBrowser for help on using the repository browser.