Commit 2c764685 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Merge branch 'patch-1' into 'master'

Update guide.rst for automated environment creation

See merge request !30
parents 695489a9 64879f6d
Pipeline #21814 passed with stages
in 2 minutes and 33 seconds
......@@ -65,7 +65,7 @@ instructions:
...
$ conda create -n dev A B C T U bob.buildout
...
$ source activate dev #ready to develop your package
$ conda activate dev #ready to develop your package
**Optional** Use of not-yet-released conda packages
......@@ -99,7 +99,7 @@ alongside the package you're developing:
$ cd ..
$ ls
<PACKAGE>
$ git checkout https://gitlab.idiap.ch/bob/bob.admin
$ git clone https://gitlab.idiap.ch/bob/bob.admin
$ ls
<PACKAGE>
bob.admin
......@@ -113,18 +113,18 @@ alongside the package you're developing:
Once ``bob.admin`` is available alongside your package, make sure both
``conda`` and ``conda-build`` are installed **and updated** on the root
``conda`` and ``conda-build`` are installed **and updated** on the base
environment of your conda_ installation. The automated script requires conda_
version 4.4 or above and ``conda-build`` version 3 or above. It also requires
the package ``pyyaml`` to be installed on the root of your conda installation.
the package ``pyyaml`` to be installed on the base of your conda installation.
Follow this recipe to get all up-to-date and ready:
.. code-block:: sh
$ conda update -n root conda conda-build
$ conda update -n base conda conda-build
...
$ conda install -n root pyyaml
$ conda install -n base pyyaml
...
......@@ -142,6 +142,7 @@ environment you'd like to create:
.. code-block:: sh
$ cd <PACKAGE>
$ conda activate base
$ ../bob.admin/conda/conda-bootstrap.py dev
...
......@@ -173,7 +174,7 @@ step is the easiest:
.. code-block:: sh
$ cd <PACKAGE> #if that is not the case
$ source activate dev
$ conda activate dev
$ buildout
...
......
  • Hey @amohammadi,

    For the next time, is it possible to have some meaningful MR title? I know this is a simple and harmless patch, but meaningful names are good for manual reviews.

    thanks

  • You mean Update guide.rst for automated environment creation is not meaningful?

  • Ah sorry.

    I was reading the name of the branch ahaha patch-1

    all good

  • Please don't use the git log for merge requests. Instead, use gitlab API to get the title and description of MRs. They are different.

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment