You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated instructions and CI for pip-only installations (#101)
* docs: updated instructions for pip-only instructions, including the required binary libraries for debian/ubuntu and macos.
ci: added smoke builds for pip-only installations
* ci: clean mamba cache for tests
Copy file name to clipboardExpand all lines: docs/intro/installation.rst
+61-9Lines changed: 61 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,13 @@ Latest Version
11
11
12
12
This option is recommended to learn the software, run the tutorials, and drafting **Testing Experiments**.
13
13
14
+
.. note::
15
+
16
+
We recommend installing with ``conda`` because it bundles native/system dependencies.
17
+
18
+
19
+
.. _conda-install-note:
20
+
14
21
1. Using ``conda``
15
22
~~~~~~~~~~~~~~~~~~
16
23
@@ -55,15 +62,55 @@ Lastly, install **floatCSEP** into the new environment using ``pip``:
55
62
2. Using only ``pip``
56
63
~~~~~~~~~~~~~~~~~~~~~
57
64
58
-
To install using the ``pip`` manager only, we require to install the binary dependencies of **pyCSEP** (see `Installing pyCSEP <https://docs.cseptesting.org/getting_started/installing.html>`_). The **floatCSEP** latest version can then be installed as:
65
+
To install using the ``pip`` manager only, you need the binary dependencies of **pyCSEP**
66
+
(see `Installing pyCSEP <https://docs.cseptesting.org/getting_started/installing.html>`_).
67
+
68
+
.. note::
69
+
70
+
Pip-only installs may require native libraries for PDF report generation (WeasyPrint).
71
+
See :ref:`pip-binary-deps`.
72
+
73
+
The **floatCSEP** latest version can then be installed as:
@@ -73,7 +120,7 @@ This option is recommended for deploying *Floating Testing Experiments* live.
73
120
1. From the ``conda-forge`` channel
74
121
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75
122
76
-
Having a ``conda`` manager installed (see **Note** box above), type in a console:
123
+
Having a ``conda`` manager installed (see ``conda`` managers in :ref:`conda-install-note`), type in a console:
77
124
78
125
.. code-block:: console
79
126
@@ -86,7 +133,10 @@ where ``3.9 < {PYTHON_VERSION} <= 3.12`` is at your convenience.
86
133
2. From the ``PyPI`` repository
87
134
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
88
135
89
-
Having installed the binary dependencies of **pyCSEP** (see `Installing pyCSEP <https://docs.cseptesting.org/getting_started/installing.html>`_}, install **floatCSEP** by:
136
+
Having installed the binary dependencies of **pyCSEP**
137
+
(see `Installing pyCSEP <https://docs.cseptesting.org/getting_started/installing.html>`_)
138
+
and, for pip-only environments, the system dependencies in :ref:`pip-binary-deps`,
139
+
install **floatCSEP** by:
90
140
91
141
.. code-block:: console
92
142
@@ -129,14 +179,16 @@ post-installation steps:
129
179
For Developers
130
180
--------------
131
181
132
-
It is recommended (not obligatory) to use a ``conda`` environment to make sure your contributions do not depend on your system local libraries. For contributing to the **floatCSEP** codebase, please consider `forking the repository <https://docs.github.com/articles/fork-a-repo>`_ and `create pull-requests <https://docs.github.com/articles/creating-a-pull-request>`_ from there.
182
+
We recommend using a ``conda`` environment for development to avoid relying on system libraries. For contributing to
183
+
the **floatCSEP** codebase, please consider `forking the repository <https://docs.github.com/articles/fork-a-repo>`_
184
+
and `creating pull requests <https://docs.github.com/articles/creating-a-pull-request>`_ from there.
0 commit comments