From 58cd7a03f69089deebe972cd3b27596e555f0a00 Mon Sep 17 00:00:00 2001 From: Bartek Sokorski Date: Wed, 24 Jan 2024 13:52:28 +0100 Subject: [PATCH] Remove reference to old scripts extras feature --- docs/pyproject.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docs/pyproject.md b/docs/pyproject.md index aebad9f52ac..11f8ce13971 100644 --- a/docs/pyproject.md +++ b/docs/pyproject.md @@ -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 %}}