Skip to content
Open
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
10 changes: 8 additions & 2 deletions source/specifications/entry-points.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ Conceptually, an entry point is defined by three required properties:
point names should be unique. If different distributions provide the same
name, the consumer decides how to handle such conflicts. The name may contain
any characters except ``=``, but it cannot start or end with any whitespace
character, or start with ``[``. For new entry points, it is recommended to
use only letters, numbers, underscores, dots and dashes (regex ``[\w.-]+``).
character, or start with ``[``.

For new entry points, it is recommended to use only letters, numbers, underscores,
dots and dashes (regex ``[\w.-]+``).

Entry points whose **name** is intended to be the filename of a script on
disk (such as those in ``console_scripts`` and ``gui_scripts``) **MUST NOT**
contain path separators (slashes) or relative path components (``.`` or ``..``).

- The **object reference** points to a Python object. It is either in the form
``importable.module``, or ``importable.module:object.attr``. Each of the parts
Expand Down
Loading