From 8fdd2b1a85164230875353924cf14398a22d6989 Mon Sep 17 00:00:00 2001 From: Raz Rotenberg Date: Mon, 19 Feb 2024 10:18:38 +0200 Subject: [PATCH] Documented Conda installation development --- docs/source/development/development.rst | 39 ++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/docs/source/development/development.rst b/docs/source/development/development.rst index e9ec476..9d16a3a 100644 --- a/docs/source/development/development.rst +++ b/docs/source/development/development.rst @@ -148,7 +148,7 @@ Now, run a container using the following command from the root directory of the --name genv-server-1 \ -p 2221:22 \ -v $PWD:/root/genv \ - genv:sshd + genv:sshd .. TODO(raz): document how to use real GPUs @@ -250,3 +250,40 @@ Publish to PyPI .. note:: You might need to :code:`pip install twine` + +Conda Installation +~~~~~~~~~~~~~~~~~~ + +~~~~~ +Setup +~~~~~ +Install `Conda-build `__: + +.. code-block:: shell + + conda install conda-build + +Clone the Conda feedstock project `repository `__ and enter to its directory: + +.. code-block:: shell + + git clone https://github.com/conda-forge/genv-feedstock.git + cd genv-feedstock + +~~~~~ +Build +~~~~~ +.. code-block:: shell + + conda build . + +.. note:: + + You can clean the build with :code:`conda build purge-all` + +~~~~~~~ +Install +~~~~~~~ +.. code-block:: shell + + conda install --use-local genv