Skip to content

Commit 84addfc

Browse files
committed
update pyproj.toml
1 parent 8934e0f commit 84addfc

File tree

1 file changed

+36
-29
lines changed

1 file changed

+36
-29
lines changed

pyproject.toml

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,28 @@
1-
[tool.poetry]
1+
[build-system]
2+
requires = ["setuptools>=61.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
26
name = "djangocms-rest"
37
description = "API endpoints for django CMS"
4-
dynamic = [ "version" ]
5-
authors = ["Fabian Braun <[email protected]>"]
6-
maintainers = ["Django CMS Association and contributors <[email protected]>"]
8+
dynamic = ["version"]
9+
authors = [
10+
{name = "Fabian Braun", email = "[email protected]"}
11+
]
12+
maintainers = [
13+
{name = "Django CMS Association and contributors", email = "[email protected]"}
14+
]
715
license = "BSD-3-Clause"
816
readme = "README.md"
9-
homepage = "https://github.com/fsbraun/djangocms-rest"
10-
repository = "https://github.com/fsbraun/djangocms-rest"
11-
packages = [{include = "djangocms_rest"}]
17+
requires-python = ">=3.9"
18+
dependencies = [
19+
"django-cms>=5.0.0a1",
20+
"djangorestframework",
21+
"djangocms-link>=5.0.0",
22+
"djangocms-text>=0.8.0",
23+
"pytest-cov>=6.0.0",
24+
"pytest-django>=4.10.0",
25+
]
1226
classifiers = [
1327
"Development Status :: 5 - Production/Stable",
1428
"Environment :: Web Environment",
@@ -22,7 +36,6 @@ classifiers = [
2236
"Framework :: Django CMS :: 4.1",
2337
"Framework :: Django CMS :: 5.0",
2438
"Intended Audience :: Developers",
25-
"License :: OSI Approved :: BSD License",
2639
"Operating System :: OS Independent",
2740
"Programming Language :: Python",
2841
"Programming Language :: Python :: 3",
@@ -34,28 +47,22 @@ classifiers = [
3447
"Topic :: Software Development",
3548
"Topic :: Software Development :: Libraries",
3649
]
37-
[tool.setuptools.dynamic]
38-
version = { attr = "djangocms_rest.__version__" }
3950

40-
[tool.poetry.dependencies]
41-
python = ">=3.9,<4"
42-
django-cms = ">=5.0.0a1"
43-
djangorestframework = "*"
44-
djangocms-link = "^5.0.0"
45-
djangocms-text = "^0.8.0"
46-
pytest-cov = "^6.0.0"
47-
pytest-django = "^4.10.0"
51+
[project.optional-dependencies]
52+
dev = [
53+
"pytest>=7.3.1",
54+
"pytest-django>=4.5.2",
55+
"mypy>=1.3.0",
56+
"django-stubs>=4.2.3",
57+
"djangorestframework-stubs>=3.14.0",
58+
]
4859

49-
[tool.poetry.group.dev.dependencies]
50-
pytest = "^7.3.1"
51-
pytest-django = "^4.5.2"
52-
mypy = "^1.3.0"
53-
django-stubs = "^4.2.3"
54-
djangorestframework-stubs = "^3.14.0"
60+
[project.urls]
61+
Homepage = "https://github.com/fsbraun/djangocms-rest"
62+
Repository = "https://github.com/fsbraun/djangocms-rest"
5563

56-
[build-system]
57-
requires = ["poetry-core"]
58-
build-backend = "poetry.core.masonry.api"
64+
[tool.setuptools.dynamic]
65+
version = {attr = "djangocms_rest.__version__"}
5966

60-
[tool.poetry.urls]
61-
Homepage = "https://github.com/fsbraun/djangocms-rest"
67+
[tool.setuptools.packages.find]
68+
include = ["djangocms_rest*"]

0 commit comments

Comments
 (0)