Skip to content

Commit 62774a0

Browse files
authored
Migrate pyproject.toml from Poetry to PEP 621 format
1 parent b2b339f commit 62774a0

File tree

1 file changed

+24
-20
lines changed

1 file changed

+24
-20
lines changed

python/pyproject.toml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
1-
[tool.poetry]
1+
[project]
22
name = "cucumber-expressions"
33
version = "18.0.1"
44
description = "Cucumber Expressions - a simpler alternative to Regular Expressions"
5-
authors = ["Jason Allen <[email protected]>"]
6-
license = "MIT"
7-
license_files = [
8-
"LICENSE"
9-
]
10-
115
readme = "README.md"
12-
13-
packages = [
14-
{ include = "cucumber_expressions"}
6+
authors = [
7+
{name = "Jason Allen", email = "[email protected]"},
158
]
16-
include = [
17-
{ path = "tests", format = "sdist" }
9+
keywords = ["cucumber", "BDD", "testing", "expressions"]
10+
license = "MIT"
11+
license-files = [
12+
"LICENSE"
1813
]
19-
20-
homepage = "https://github.com/cucumber/cucumber-expressions"
21-
repository = "https://github.com/cucumber/cucumber-expressions"
22-
documentation = "https://github.com/cucumber/cucumber-expressions"
23-
24-
keywords = ["BDD", "testing", "cucumber", "expressions"]
25-
2614
classifiers = [
2715
"Development Status :: 3 - Alpha",
2816
"Environment :: Console",
@@ -38,6 +26,22 @@ classifiers = [
3826
"Programming Language :: Python :: Implementation :: PyPy",
3927
"Topic :: Software Development :: Testing",
4028
"Topic :: Software Development :: Libraries :: Python Modules",
29+
"License :: OSI Approved :: MIT License", # for compatibility with tooling such as pip-licenses",
30+
]
31+
32+
[project.urls]
33+
Homepage = "https://github.com/cucumber/cucumber-expressions"
34+
Repository = "https://github.com/cucumber/cucumber-expressions.git"
35+
Download = "https://pypi.python.org/pypi/cucumber-expressions"
36+
Issues = "https://github.com/cucumber/cucumber-expressions/issues"
37+
Changelog = "https://github.com/cucumber/cucumber-expressions/releases"
38+
39+
[tool.poetry]
40+
packages = [
41+
{ include = "cucumber_expressions"}
42+
]
43+
include = [
44+
{ path = "tests", format = "sdist" }
4145
]
4246

4347
[tool.poetry.dependencies]
@@ -49,7 +53,7 @@ pytest = "^8.0.0"
4953
PyYAML = "^6.0"
5054

5155
[build-system]
52-
requires = ["poetry-core>=1.0.0"]
56+
requires = ["poetry-core>=2.2.0"]
5357
build-backend = "poetry.core.masonry.api"
5458

5559
[tool.isort]

0 commit comments

Comments
 (0)