Skip to content
Snippets Groups Projects
Commit ffd50e03 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

update installation instructions

parent 7f6c0a55
No related branches found
No related tags found
No related merge requests found
Pipeline #60710 passed
...@@ -7,14 +7,12 @@ ...@@ -7,14 +7,12 @@
Installation Installation
============== ==============
You can install this package via conda_, simply pointing to our stable or beta You can install this package via conda_, simply pointing to our beta channel.
channels: We provide packages for both 64-bit Linux and MacOS, for Python 3.8+.
.. code-block:: sh .. code-block:: sh
$ conda install -n base -c https://www.idiap.ch/software/bob/conda bob.devtools $ conda install -n base -c https://www.idiap.ch/software/bob/conda/label/beta -c conda-forge bob.devtools
# or, for beta releases:
$ conda install -n base -c https://www.idiap.ch/software/bob/conda/label/beta -c https://www.idiap.ch/software/bob/conda bob.devtools
.. warning:: .. warning::
...@@ -26,27 +24,18 @@ channels: ...@@ -26,27 +24,18 @@ channels:
duplicating the size of your conda installation. For this reason, we duplicating the size of your conda installation. For this reason, we
recommend you install this package on the ``base`` environment. recommend you install this package on the ``base`` environment.
We provide packages for both 64-bit Linux and MacOS, for Python 3.8+. Once You must also create an alias for ``bdt`` because some commands require another
installed, you can use these tools within the created environment like this: conda environment to be activated:
.. code-block:: sh .. code-block:: sh
$ conda activate base $ conda activate base
(base) $ bdt --help $ echo "alias bdt=$(which bdt)" >> ~/.bashrc
$ source ~/.bashrc
# test if it works
You may also hook ``bdt`` on your global ``PATH`` variable, and avoid having to $ conda deactivate
activate ``base`` to use the command like this:
.. code-block:: sh
$ ln -s $(which bdt) ~/.local/bin
# make sure ~/.local/bin is in your $PATH
$ export PATH=$HOME/.local/bin:$PATH
# use bdt any time now no matter which conda env is activated
$ bdt --help $ bdt --help
.. _bob.devtools.install.setup: .. _bob.devtools.install.setup:
Setup Setup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment