Skip to content

Commit 4ce1298

Browse files
authored
chore: use project section (#322)
1 parent 567013e commit 4ce1298

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

poetry.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,33 @@
1-
[tool.poetry]
1+
[project]
22
name = "poetry-plugin-export"
33
version = "1.9.0"
44
description = "Poetry plugin to export the dependencies to various formats"
5-
authors = ["Sébastien Eustace <[email protected]>"]
6-
license = "MIT"
5+
authors = [{ name = "Sébastien Eustace", email = "[email protected]" }]
6+
license = { text = "MIT" }
77
readme = "README.md"
8+
requires-python = ">=3.9,<4.0"
9+
dependencies = [
10+
"poetry>=2.0.0,<3.0.0",
11+
# "poetry-core>=1.7.0,<3.0.0",
12+
"poetry-core @ git+https://github.com/python-poetry/poetry-core.git",
13+
]
14+
dynamic = ["classifiers"]
15+
16+
[project.urls]
817
homepage = "https://python-poetry.org/"
918
repository = "https://github.com/python-poetry/poetry-plugin-export"
1019

20+
[project.entry-points."poetry.application.plugin"]
21+
export = "poetry_plugin_export.plugins:ExportApplicationPlugin"
22+
23+
[tool.poetry]
1124
packages = [
1225
{ include = "poetry_plugin_export", from = "src" }
1326
]
14-
1527
include = [
1628
{ path = "tests", format = "sdist" }
1729
]
1830

19-
[tool.poetry.dependencies]
20-
python = "^3.9"
21-
poetry = ">=2.0.0,<3.0.0"
22-
# poetry-core = ">=1.7.0,<3.0.0"
23-
poetry-core = { git = "git+https://github.com/python-poetry/poetry-core.git" }
24-
2531
[tool.poetry.group.dev.dependencies]
2632
pre-commit = ">=2.18"
2733
pytest = "^8.0"
@@ -37,9 +43,6 @@ optional = true
3743
[tool.poetry.group.github-actions.dependencies]
3844
pytest-github-actions-annotate-failures = "^0.1.7"
3945

40-
[tool.poetry.plugins."poetry.application.plugin"]
41-
export = "poetry_plugin_export.plugins:ExportApplicationPlugin"
42-
4346

4447
[tool.ruff]
4548
fix = true
@@ -114,5 +117,5 @@ testpaths = [
114117

115118

116119
[build-system]
117-
requires = ["poetry-core"]
120+
requires = ["poetry-core>=2.0"]
118121
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)