Skip to content

Commit

Permalink
Remove reference to old scripts extras feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus authored and radoering committed Jan 28, 2024
1 parent 1df6f53 commit 58cd7a0
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 58cd7a0

Please sign in to comment.