Skip to content

Commit

Permalink
Add source installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoinePrv committed Dec 16, 2020
1 parent ff75c8e commit 037e118
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
18 changes: 16 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,22 @@ Pip
Currently unavailable

From Source
^^^^^^^^^^^
Source builds currently require following the contributing instructions.
-----------
Source builds currently require ``conda`` to fetch the dependencies.

.. code-block:: bash
conda env create -n ecole -f dev/conda.yaml
conda activate ecole
cmake -B build/
cmake --build build/ --parallel
python -m pip install build/python
.. warning::

This mode of installation is not mature.
In particular, the scip library may not be found when installed outside of the ``ecole`` environemnt.


Use It, Cite It
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ candidate to use for combinatorial optimization, as well as the methodology to d
howto/instances.rst

.. toctree::
:caption: Tutorials
:caption: Practical Tutorials
:hidden:

Configuring the Solver with Bandits <https://github.com/ds4dm/ecole/tree/master/examples/configuring-bandits.ipynb>
Expand Down
16 changes: 15 additions & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,18 @@ Currently unavailable.

From Source
-----------
Source builds currently require following the contributing instructions.
Source builds currently require ``conda`` to fetch the dependencies.

.. code-block:: bash
conda env create -n ecole -f dev/conda.yaml
conda activate ecole
cmake -B build/
cmake --build build/ --parallel
python -m pip install build/python
.. warning::

This mode of installation is not mature.
In particular, the scip library may not be found when installed outside of the ``ecole`` environemnt.

0 comments on commit 037e118

Please sign in to comment.