Skip to content

Commit

Permalink
Remove reference to old scripts extras feature (#8903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus authored Jan 28, 2024
1 parent 1df6f53 commit ed1dcdd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docs/pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,6 @@ my_package_cli = 'my_package.console:run'

Here, we will have the `my_package_cli` script installed which will execute the `run` function in the `console` module in the `my_package` package.

To specify a script that [depends on an extra](#extras), you may provide an entry as an inline table:

```toml
[tool.poetry.scripts]
devtest = { reference = "mypackage:test.run_tests", extras = ["test"], type = "console" }
```

{{% note %}}
When a script is added or updated, run `poetry install` to make them available in the project's virtualenv.
{{% /note %}}
Expand Down

0 comments on commit ed1dcdd

Please sign in to comment.