Last change
on this file since 2887 was 2514, checked in by Malte Marquarding, 13 years ago |
Updated INSTALL and renamed to README
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1194] | 1 | Requirements
|
---|
| 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 |
|
---|
| 12 | Installation
|
---|
| 13 | ============
|
---|
| 14 |
|
---|
[2514] | 15 | ASAP is based on c++ and python. It uses python's standard packaging tool
|
---|
| 16 | to build and install::
|
---|
[1436] | 17 |
|
---|
[2484] | 18 | python setup.py install
|
---|
[1194] | 19 |
|
---|
[2514] | 20 | If the dependencies are in custom locations there are two ways to build
|
---|
| 21 | ASAP:
|
---|
| 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 |
|
---|
| 28 | Note: The installation must be done as 'root' or using 'sudo'
|
---|
| 29 |
|
---|
[1194] | 30 | Obtaining the data directory
|
---|
| 31 | ============================
|
---|
[1436] | 32 |
|
---|
[2514] | 33 | ASAP needs some meta-data which updates periodically.
|
---|
[1404] | 34 | The data repository can be obtained separately after installing ASAP.
|
---|
[2514] | 35 | Run as root (sudo)::
|
---|
[1436] | 36 |
|
---|
[1194] | 37 | asap_update_data
|
---|
[1436] | 38 |
|
---|
[1194] | 39 | This will install the data repository into the correct location.
|
---|
| 40 |
|
---|
| 41 | Creating a binary distribution
|
---|
| 42 | ==============================
|
---|
| 43 |
|
---|
[2514] | 44 | You can make a binary distribution for you platform by running::
|
---|
[1194] | 45 |
|
---|
[2484] | 46 | python setup.py bdist_egg
|
---|
[1194] | 47 |
|
---|
[2514] | 48 | This will create an 'egg' archive in the subdirectory 'dist'.
|
---|
| 49 | Send this to asap@atnf.csiro.au so other people can share it.
|
---|
| 50 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.