Skip to content

Conda building and installation

David Pérez-Suárez edited this page Aug 2, 2019 · 2 revisions

Prerequisites

  1. Install conda-build

    conda install conda-build

  2. Install the dependencies

    conda install gdal numpy scipy matplotlib numba colorama tensorflow

  3. Change to the directory containing setup.py

  4. Run the conda build process

    conda build .

  5. Once this finishes successfully, install kaska from the conda build directory. This is done by creating a declaring the build directory a conda channel, and installing kaska from it. The necessary directory can be found in the conda build output by looking for the lines

    # If you want to upload package(s) to anaconda.org later, type:

    anaconda upload /path/to/conda/conda-bld/noarch/kaska-0.0.1-py_0.tar.bz2

    In this case the command to install would be

    conda install -c /path/to/conda/conda-bld kaska

    Replace the placeholder path /path/to/conda with whatever is in the output of the cond build command.

  6. The kaska module should now be available within anaconda python.

Clone this wiki locally