diff --git a/docs/reference/limitations.rst b/docs/reference/limitations.rst index 78c3a30ac..88c080483 100644 --- a/docs/reference/limitations.rst +++ b/docs/reference/limitations.rst @@ -8,6 +8,19 @@ Limitations *********** +Executable permissions for installed scripts +============================================ + +When building a wheel, ``meson-python`` preserves a file's existing mode. +It does not apply an ``install_mode`` override specified in the Meson build +definition. For example, a Python script generated by ``configure_file()`` +without executable permission can remain non-executable in the wheel even +when its ``install_mode`` requests executable permission. + +To expose a Python command portably, install the Python module and declare +its entry point in ``[project.scripts]``. A wheel installer then creates the +appropriate command launcher for the target environment. + Non-package data files ======================