Skip to content

Commit ae4a9fa

Browse files
committed
convert pyproject.toml
1 parent 988ce82 commit ae4a9fa

File tree

1 file changed

+13
-20
lines changed

1 file changed

+13
-20
lines changed

pyproject.toml

+13-20
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
1-
[build-system]
2-
requires = ["poetry_core>=1.0.0"]
3-
build-backend = "poetry.core.masonry.api"
4-
5-
[tool.poetry]
1+
[project]
62
name = "django-object-actions"
73
version = "4.3.0"
84
description = "A Django app for adding object tools for models in the admin"
9-
authors = ["crccheck <[email protected]>"]
5+
authors = [{ name = "crccheck", email = "[email protected]" }]
106
license = "Apache-2.0"
117
readme = "README.md"
12-
13-
repository = "https://github.com/crccheck/django-object-actions"
14-
8+
# repository = "https://github.com/crccheck/django-object-actions"
159
keywords = ["django", "admin"]
1610
classifiers = [
1711
"Development Status :: 5 - Production/Stable",
@@ -27,20 +21,19 @@ classifiers = [
2721
"Programming Language :: Python :: 3.13",
2822
]
2923

30-
[tool.poetry.dependencies]
31-
python = "^3.9"
32-
33-
[tool.poetry.group.dev.dependencies]
34-
coverage = "7.*"
35-
django-extensions = "3.*"
36-
factory-boy = "3.*"
37-
dj-database-url = "2.*"
38-
ruff = "*"
24+
[project.optional-dependencies]
25+
dev = [
26+
"coverage==7.*",
27+
"django-extensions==3.*",
28+
"factory-boy == 3.*",
29+
"dj-database-url == 2.*",
30+
"ruff",
31+
]
3932

4033
[tool.semantic_release]
41-
version_toml = ["pyproject.toml:tool.poetry.version"]
34+
version_toml = ["pyproject.toml:project.version"]
4235
version_variables = ["django_object_actions/__init__.py:__version__"]
43-
build_command = "pip install poetry && poetry build"
36+
build_command = "pip build"
4437

4538
[tool.coverage.run]
4639
source = ["django_object_actions"]

0 commit comments

Comments
 (0)