Installation

Requirements

The DALiuGE framework requires no packages apart from those listed in its setup.py file, which are automatically retrieved when running it. The spead2 library (one of the DALiuGE’ optional requirements) however requires a number of libraries installed on the system:

  • boost-python
  • boost-system
  • boost-devel
  • gcc >= 4.8

Installing

DALiuGE is based on setuptools, and thus it follows the standard python installation procedures. The preferred way of installing the latest stable version of DALiuGE is by using pip:

pip install --process-dependency-links daliuge

If you want to build from the latest sources you can get them from here:

git clone https://github.com/ICRAR/daliuge
cd daliuge

If a system-wide installation is required, then the following commands can be issued:

sudo pip --process-dependency-links install .

If pip is not available, you can also use a different approach with:

python setup.py build
sudo python setup.py install

If a virtualenv is loaded, then DALiuGE can be installed on it by simply running:

pip install --process-dependency-links .

Again, if pip is not available, you can use the simpler form:

python setup.py install

There is a known issue in some systems when installing the python-daemon dependency, which needs to be installed via pip.

Docker images

Docker images can be built using the Dockerfiles under the docker directory. Please refer to the README file in the docker directory for more information.