@@ -37,25 +37,25 @@ Build Procedure
3737===============
3838
39391. **Obtain the Source **:
40- Clone the SageMath repository:
40+ Clone the SageMath repository:
4141
42- .. code-block :: console
42+ .. code-block :: console
4343
4444 $ git clone https://github.com/sagemath/sage.git
4545
4646 Alternatively, download the sdist tarball from the
4747 `SageMath PyPI project<https://pypi.org/project/sagemath/> `_ or from the
4848 `GitHub releases <https://github.com/sagemath/sage/releases >`_.
4949
50- 1 . **Prepare the Build Environment **:
51- Ensure a clean and consistent build environment with access to all
52- required system libraries and Python packages.
50+ 2 . **Prepare the Build Environment **:
51+ Ensure a clean and consistent build environment with access to all
52+ required system libraries and Python packages.
5353
54- 2 . **Build **:
54+ 3 . **Build **:
5555
5656 Create a wheel using the ``build `` module:
5757
58- .. code-block :: console
58+ .. code-block :: console
5959
6060 $ python -m build --wheel --no-isolation
6161
@@ -65,24 +65,24 @@ Build Procedure
6565 use `-Cbuild-dir=build ` to specify a build directory, see this
6666 `Meson-Python issue <https://github.com/mesonbuild/meson-python/issues/671 >`_.
6767
68- 3 . **Install **:
68+ 4 . **Install **:
6969
7070 The resulting wheel can be installed using
7171
72- .. code-block :: console
72+ .. code-block :: console
7373
7474 $ python -m installer --destdir="<pkgdir>" dist/sagemath-*.whl
7575
76- where ``<pkgdir> `` is the directory where you want to install the package
77- (usually a temporary directory for packaging).
76+ where ``<pkgdir> `` is the directory where you want to install the package
77+ (usually a temporary directory for packaging).
7878
79794. **Test the Build **:
8080
81- Run the Sage tests to ensure functionality:
81+ Run the Sage tests to ensure functionality:
8282
8383 .. code-block :: console
8484
85- $ python -m sage.doctest --all
85+ $ python -m sage.doctest --all
8686
8787 However, some tests are known to fail, see :issue: `39872 `.
8888
0 commit comments