@@ -10,11 +10,10 @@ Including SBOMs in wheels (PEP 770)
1010
1111`PEP 770 `_ defines a location for Software Bill of Materials (SBOM)
1212files inside the wheel's ``.dist-info/sboms/ `` directory.
13- ``meson-python `` routes any file installed under
14- ``{py_purelib}/<name>-<version>.dist-info/<subdir>/... `` or
15- ``{py_platlib}/<name>-<version>.dist-info/<subdir>/... `` into the
16- wheel's own ``.dist-info/<subdir>/ `` at pack time, giving projects a
17- way to ship SBOMs and other dist-info-bound metadata files without
13+ ``meson-python `` routes any file installed to
14+ ``py.get_install_dir() / <name>-<version>.dist-info / <subdir> `` into
15+ the wheel's own ``.dist-info/<subdir>/ `` at pack time, giving projects
16+ a way to ship SBOMs and other dist-info-bound metadata files without
1817post-build wheel surgery.
1918
2019.. _PEP 770 : https://peps.python.org/pep-0770/
@@ -40,9 +39,7 @@ source-vendored components:
4039
4140 The files end up in the wheel at
4241``my_project-1.0.0.dist-info/sboms/component1.cdx.json `` and
43- ``component2.cdx.json ``. ``py.get_install_dir() `` returns a path under
44- ``{py_purelib} `` for ``pure: true `` projects and ``{py_platlib} `` for
45- ``pure: false `` projects; both roots are recognized.
42+ ``component2.cdx.json ``.
4643
4744Dynamically generated SBOMs
4845===========================
0 commit comments