Skip to content

Commit

Permalink
doc(scripts): highlight deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Jan 31, 2025
1 parent f7490a5 commit d80228e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -726,8 +726,10 @@ for more information on other keys and specifying version ranges.

### scripts

**Deprecated**: Use `project.scripts` instead.
Use `[tool.poetry.scripts]` only for scripts of type "file", because those are not supported in `[project.scripts]`.
{{% note %}}
**Deprecated**: Use [`project.scripts`]({{< relref "#scripts" >}}) instead for `console` and `gui` scripts. Use
`[tool.poetry.scripts]` only for scripts of type `file`.
{{% /note %}}

This section describes the scripts or executables that will be installed when installing the package

Expand Down

0 comments on commit d80228e

Please sign in to comment.