Skip to content

Commit 16de05a

Browse files
committed
Update pyproject.toml to new syntax, bump dev version
1 parent 6a7c8d7 commit 16de05a

File tree

2 files changed

+30
-17
lines changed

2 files changed

+30
-17
lines changed

pyproject.toml

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,42 @@
1-
[tool.poetry]
1+
[project]
22
name = "poetry-core"
3-
version = "2.0.0"
3+
version = "2.0.0.dev0"
44
description = "Poetry PEP 517 Build Backend"
5-
authors = ["Sébastien Eustace <sebastien@eustace.io>"]
6-
license = "MIT"
5+
authors = [
6+
{ name = "Sébastien Eustace", email = "sebastien@eustace.io" }
7+
]
8+
maintainers = [
9+
{ name = "Arun Babu Neelicattu", email = "arun.neelicattu@gmail.com" },
10+
{ name = "Bjorn Neergaard", email = "bjorn@neersighted.com" },
11+
{ name = "Branch Vincent", email = "branchevincent@gmail.com" },
12+
{ name = "Randy Döring", email = "radoering.poetry@gmail.com" },
13+
{ name = "Steph Samson", email = "hello@stephsamson.com" },
14+
{ name = "finswimmer", email = "finswimmer77@gmail.com" },
15+
{ name = "Bartosz Sokorski", email = "b.sokorski@gmail.com" },
16+
]
17+
license = { text = "MIT" }
18+
requires-python = ">=3.9, <4.0"
719
readme = "README.md"
20+
keywords = ["packaging", "dependency", "poetry"]
21+
dynamic = ["classifiers"]
22+
23+
[project.urls]
824
homepage = "https://github.com/python-poetry/poetry-core"
925
repository = "https://github.com/python-poetry/poetry-core"
10-
keywords = ["packaging", "dependency", "poetry"]
11-
classifiers = [
12-
"Topic :: Software Development :: Build Tools",
13-
"Topic :: Software Development :: Libraries :: Python Modules",
14-
]
26+
"Bug Tracker" = "https://github.com/python-poetry/poetry/issues"
27+
28+
29+
[tool.poetry]
30+
requires-poetry = ">=2.0"
1531
packages = [
1632
{ include = "poetry", from = "src" },
1733
]
18-
include = [
19-
{ path = "tests", format = "sdist" },
34+
include = [{ path = "tests", format = "sdist" }]
35+
classifiers = [
36+
"Topic :: Software Development :: Build Tools",
37+
"Topic :: Software Development :: Libraries :: Python Modules",
2038
]
2139

22-
[tool.poetry.urls]
23-
"Bug Tracker" = "https://github.com/python-poetry/poetry/issues"
24-
25-
[tool.poetry.dependencies]
26-
python = "^3.9"
2740

2841
[tool.poetry.group.dev.dependencies]
2942
pre-commit = ">=2.15.0"

src/poetry/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# this cannot presently be replaced with importlib.metadata.version as when building
99
# itself, poetry-core is not available as an installed distribution.
10-
__version__ = "2.0.0"
10+
__version__ = "2.0.0.dev0"
1111

1212
__vendor_site__ = (Path(__file__).parent / "_vendor").as_posix()
1313

0 commit comments

Comments
 (0)