Changeset 2514 for trunk/README
- Timestamp:
- 05/14/12 15:03:22 (13 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/README
r2509 r2514 5 5 * rpfits >= 2.19 6 6 * 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 10 11 11 12 Installation 12 13 ============ 13 14 14 scons has several targets. It is recommended to execute them sequentially. 15 The normal install procedure is as follows 16 .. code:: 15 ASAP is based on c++ and python. It uses python's standard packaging tool 16 to build and install:: 17 17 18 scons19 scons makedist=120 cd asap-4.1.021 18 python setup.py install 22 asap # exit with <Ctrl-D> 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' 23 29 24 30 Obtaining the data directory 25 31 ============================ 26 32 33 ASAP needs some meta-data which updates periodically. 27 34 The data repository can be obtained separately after installing ASAP. 28 Before you run asap for the first time simply run::35 Run as root (sudo):: 29 36 30 37 asap_update_data … … 35 42 ============================== 36 43 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'::44 You can make a binary distribution for you platform by running:: 38 45 39 46 python setup.py bdist_egg 40 47 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. 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 TracChangeset
for help on using the changeset viewer.