Skip to content

Commit 38f9bfb

Browse files
committed
Clarify that the scripts directory is for files only
Following astral-sh/uv#9656 and the discussion in the pypa discord (https://discord.com/channels/803025117553754132/837243676814999553/1314391181656064040), add a clarifying sentence that the scripts directory in wheels if for files only. A future specification may want to extend this to "regular files and symlinks", for not it's limited to regular for clear rewrite semantics.
1 parent 7576f94 commit 38f9bfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/specifications/binary-distribution-format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ its version, e.g. ``1.0.0``, consist of:
189189
#. Python scripts must appear in ``scripts`` and begin with exactly
190190
``b'#!python'`` in order to enjoy script wrapper generation and
191191
``#!python`` rewriting at install time. They may have any or no
192-
extension.
192+
extension. The ``scripts`` directory may only contain regular files.
193193
#. ``{distribution}-{version}.dist-info/METADATA`` is Metadata version 1.1
194194
or greater format metadata.
195195
#. ``{distribution}-{version}.dist-info/WHEEL`` is metadata about the archive

0 commit comments

Comments
 (0)