README.rst
1Conda packages
2==============
3
4This directory contains scripts required to build `Conda <https://conda.io>`_ packages with Renode.
5
6The packages are available at https://anaconda.org/antmicro/renode.
7
8Building packages
9-----------------
10
11To build a package you need to have ``conda`` installed on your system.
12The easiest way to obtain it is to use the `Miniconda installer <https://docs.conda.io/en/latest/miniconda.html>`_.
13
14You also need to have the ``conda-build`` package installed.
15If you have already installed ``conda``, simply run::
16
17 conda install conda-build
18
19Building the package itself is easy.
20On Linux and macOS run::
21
22 conda build -c conda-forge path-to-renode/tools/packaging/conda
23
24On Windows, as it does not depend on Mono provided by ``conda-forge``, run::
25
26 conda build path/to/renode/tools/packaging/conda
27
28When the package is built, you can install it with::
29
30 conda install [-c conda-forge] --use-local renode
31
32Using prebuilt packages
33-----------------------
34
35To install packages from the ``antmicro`` channel, run::
36
37 conda install [-c conda-forge] -c antmicro renode
38
39The ``conda-forge`` channel is not required on Windows.
40