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