From 73ecc5eff8950b0c42ed92330eeb54c1bca6fc27 Mon Sep 17 00:00:00 2001 From: Jonathan Helmus Date: Fri, 20 Sep 2024 14:15:39 -0500 Subject: [PATCH] DOC: document python_site_packages_path --- docs/source/resources/define-metadata.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/source/resources/define-metadata.rst b/docs/source/resources/define-metadata.rst index d7b5e9ff70..a791e320bb 100644 --- a/docs/source/resources/define-metadata.rst +++ b/docs/source/resources/define-metadata.rst @@ -373,6 +373,19 @@ Python in macOS. The default is ``False``. build: osx_is_app: True +python_site_packages_path +------------------------- + +Packages with a name of ``python`` can optionally specify the location of the +site-packages directory relative to the root of the environment with +``python_site_packages_path``. This should only be used in ``python`` packages +and only when the path is not the CPython default. + +.. code-block:: yaml + + build: + python_site_packages_path: lib/python3.13t/site-packages + Track features --------------