From 19c07d327e6cee565c92ab9d49f80699ee86fe34 Mon Sep 17 00:00:00 2001 From: Bartek Sokorski Date: Fri, 23 Sep 2022 21:40:27 +0200 Subject: [PATCH] Add real world example of plugin config --- docs/pyproject.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/pyproject.md b/docs/pyproject.md index 74eaf9073cb..955c64d4c6a 100644 --- a/docs/pyproject.md +++ b/docs/pyproject.md @@ -430,6 +430,13 @@ Which are: - `C` - python module import path - `D` - the entry point of the plugin (a function or class) +Example (from [`poetry-plugin-export`](http://github.com/python-poetry/poetry-plugin-export)): + +```toml +[tool.poetry.plugins."poetry.application.plugin"] +export = "poetry_plugin_export.plugins:ExportApplicationPlugin" +``` + ## `urls` In addition to the basic urls (`homepage`, `repository` and `documentation`), you can specify