@@ -5,10 +5,6 @@ Packaging SageMath Downstream
55This document is intended for downstream maintainers (e.g., Linux distribution
66package maintainers) who wish to create redistributable builds of Sage.
77
8- .. contents ::
9- :local:
10- :depth: 2
11-
128Dependencies
139============
1410
@@ -44,29 +40,27 @@ Build Procedure
4440 $ git clone https://github.com/sagemath/sage.git
4541
4642 Alternatively, download the sdist tarball from the
47- `SageMath PyPI project<https://pypi.org/project/sagemath/> `_ or from the
43+ `SageMath PyPI project <https://pypi.org/project/sagemath/ >`_ or from the
4844 `GitHub releases <https://github.com/sagemath/sage/releases >`_.
4945
50462. **Prepare the Build Environment **:
5147 Ensure a clean and consistent build environment with access to all
5248 required system libraries and Python packages.
5349
54503. **Build **:
55-
5651 Create a wheel using the ``build `` module:
5752
5853 .. code-block :: console
5954
6055 $ python -m build --wheel --no-isolation
6156
6257 If you are sure that all dependencies are available, you may also add the
63- `--skip-dependency-check ` option.
58+ `` --skip-dependency-check ` ` option.
6459 Moreover, if you care about reproducible builds, it is recommended to
65- use `-Cbuild-dir=build ` to specify a build directory, see this
60+ use `` -Cbuild-dir=build ` ` to specify a build directory, see this
6661 `Meson-Python issue <https://github.com/mesonbuild/meson-python/issues/671 >`_.
6762
68634. **Install **:
69-
7064 The resulting wheel can be installed using
7165
7266 .. code-block :: console
@@ -77,7 +71,6 @@ Build Procedure
7771 (usually a temporary directory for packaging).
7872
79734. **Test the Build **:
80-
8174 Run the Sage tests to ensure functionality:
8275
8376 .. code-block :: console
0 commit comments