Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/reference/limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
======================
Expand Down