====== User Software :: pyBDSM ======
svn co http://usg.lofar.org/svn/code/trunk lofarsoft
The components of the source code are organized as follows:
cd build
./bootstrap
- Build //pyBDSM//: make bdsm
This will also go through the list of required external packages and check whether they are installed; if this is not the case, the dependencies will be resolved before continuing with ''pyBDSM'' itself. \\ The following components (libraries and application programs) will be build:
* ''_py2fbdsm'' -- Write pyBDSM output to fBDSM format
* ''_pytesselate'' -- Fortran implementation of Tesselation
* ''_cbdsm'' -- Main python module to be imported
- Installation of pyBDSM \\ Upon completion of the build, the generated components will be installed into the following locations:
. .. $LOFARSOFT
|-- release
| |-- bin .. $PATH
| |-- include
| `-- lib
| `-- python .. $PYTHONPATH
| |-- _cbdsm.so
| `-- bdsm .. Installation location of Python scripts
| |-- image.py
| |
* executables are in //release/bin// and other stuff are in //release/lib, release/includes// and //release/lib/python// (pythonpath)
* doc is in //doc//
==== Troubleshooting ====
>>> import bdsm
Traceback (most recent call last):
File "", line 1, in
File "/home/lars/usg/code/trunk/release/lib/python/bdsm/__init__.py", line 9, in
from preprocess import Op_preprocess
File "/home/lars/usg/code/trunk/release/lib/python/bdsm/preprocess.py", line 8, in
import _cbdsm
ImportError: dynamic module does not define init function (init_cbdsm)
\\
----
<- [[public:user software:User Software]]