Skip to content

Commit 3395327

Browse files
committed
eliminate commented out lines
1 parent 3842267 commit 3395327

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

src/doc/en/installation/source.rst

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -155,24 +155,17 @@ Depending on your distribution, install the following packages:
155155
In the case that you want to install some dependencies manually, set the
156156
correct environment variables to point to the installed libraries:
157157

158-
.. .. literalinclude:: debian-develop.txt
159-
:language: console
160158
.. code-block:: console
161159
162160
$ export C_INCLUDE_PATH=$C_INCLUDE_PATH:/your/path/to/include
163161
$ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/your/path/to/include
164162
$ export LIBRARY_PATH=$LIBRARY_PATH:/your/path/to/lib
165163
166-
.. .. literalinclude:: fedora-develop.txt
167-
:language: console
168-
169164
We also recommend to install the Python package manager
170165
`uv <https://docs.astral.sh/uv/getting-started/installation/>`_.
171166

172167
To compile and install Sage in editable install, then just use:
173168

174-
.. .. literalinclude:: arch-develop.txt
175-
:language: console
176169
.. code-block:: console
177170
178171
$ uv venv
@@ -188,18 +181,12 @@ To compile and install Sage in editable install, then just use:
188181
setuptools
189182
$ uv sync --frozen --inexact --no-build-isolation
190183
191-
.. .. literalinclude:: opensuse-develop.txt
192-
:language: console
193-
194184
You can then start Sage from the command line with ``./sage``
195185
or run the tests with ``./sage -t``.
196186

197187
Remarks
198188
~~~~~~~
199189

200-
.. .. literalinclude:: void-develop.txt
201-
:language: console
202-
203190
.. note::
204191

205192
By using ``pip install --editable`` in the above steps, the Sage library
@@ -211,42 +198,28 @@ Remarks
211198

212199
.. note::
213200

214-
.. .. literalinclude:: debian-recommended.txt
215-
:language: console
216-
217201
Note that ``make`` is not used at all, nor is ``configure``.
218202
This means that any Sage-the-distribution commands such as ``sage -i``
219203
will not work.
220204

221205
.. note::
222206

223-
.. .. literalinclude:: fedora-recommended.txt
224-
:language: console
225-
226207
By default, Meson will automatically determine the number of jobs to
227208
run in parallel based on the number of CPU available. This can be adjusted
228209
by passing ``--config-settings=compile-args=-jN`` to ``pip install``.
229210

230211
``--verbose`` can be passed to ``pip install``, then the meson commands
231212
internally used by pip will be printed out.
232213

233-
.. .. literalinclude:: arch-recommended.txt
234-
:language: console
235-
236214
.. note::
237215

238216
To build the documentation, use:
239217

240-
.. .. literalinclude:: opensuse-recommended.txt
241-
:language: console
242218
.. code-block:: console
243219
244220
$ pip install --no-build-isolation -v -v --editable ./pkgs/sage-docbuild
245221
$ sage --docbuild all html
246222
247-
.. .. literalinclude:: void-recommended.txt
248-
:language: console
249-
250223
.. note::
251224

252225
You can update the conda lock files by running ``tools/update-conda.py``.
@@ -258,23 +231,15 @@ Remarks
258231
Background information
259232
======================
260233

261-
.. .. literalinclude:: fedora-optional.txt
262-
:language: console
263-
264234
Under the hood, pip invokes meson to configure and build the project.
265235
We can also use meson directly as follows.
266236

267237
To configure the project, we need to run the following command:
268238

269-
.. .. literalinclude:: arch-optional.txt
270-
:language: console
271-
.. code-block:: console
239+
.. code-block:: console
272240
273241
$ meson setup builddir
274242
275-
.. .. literalinclude:: opensuse-optional.txt
276-
:language: console
277-
278243
This will create a build directory ``builddir`` that will hold the
279244
build artifacts. Certain options are configurable at build time. The
280245
easiest way to obtain an overview of these options is by using ``meson

0 commit comments

Comments
 (0)