Skip to content

Commit 2f0325c

Browse files
committed
split install instructions
1 parent 901f280 commit 2f0325c

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/installation.rst

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,19 @@ First, clone the :mod:`compas_cgal` repo.
4141
git clone https://github.com/compas-dev/compas_cgal
4242
4343
44-
Create an environment with all the required dependencies.
44+
Create a dev environment.
45+
46+
.. code-block:: bash
47+
48+
conda create -n cgal-dev python=3.8 compas compas_view2 --yes
49+
50+
Install common dev requirements.
51+
52+
.. code-block:: bash
53+
54+
conda install -n cgal-dev mpfr boost-cpp eigen=3.3 cgal-cpp=5.2 pybind11 --yes
55+
56+
Some are OS dependent.
4557

4658
.. tabs::
4759

@@ -50,13 +62,13 @@ Create an environment with all the required dependencies.
5062

5163
.. code-block:: bash
5264
53-
conda create -n cgal-dev python=3.8 mpir mpfr boost-cpp eigen=3.3 cgal-cpp=5.2 pybind11 compas compas_view2 --yes
65+
conda install -n cgal-dev mpir --yes
5466
5567
.. tab-item:: OSX / Linux
5668

5769
.. code-block:: bash
5870
59-
conda create -n cgal-dev python=3.8 mpfr gmp boost-cpp eigen=3.3 cgal-cpp=5.2 pybind11 compas compas_view2 --yes
71+
conda install -n cgal-dev gmp --yes
6072
6173
6274
Activate the environment.

0 commit comments

Comments
 (0)