Skip to content

Commit f8215c1

Browse files
committed
chore: change build backend to setuptools to make it work for py <= 3.8
1 parent 73f3526 commit f8215c1

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

pyproject.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ authors = [{ name = "David Runemalm", email = "david.runemalm@gmail.com" }]
66
license = { text = "MIT" }
77
readme = "README.md"
88
requires-python = ">=3.7"
9-
repository = "https://github.com/runemalm/py-dependency-injection"
10-
homepage = "https://py-dependency-injection.readthedocs.io/en/latest/"
11-
documentation = "https://py-dependency-injection.readthedocs.io/en/latest/"
129
keywords = ["dependency injection", "di", "ioc", "inversion of control", "python"]
1310
classifiers = [
1411
"Development Status :: 4 - Beta",
@@ -24,11 +21,15 @@ classifiers = [
2421
"Programming Language :: Python :: 3.13",
2522
"Topic :: Software Development :: Libraries :: Python Modules"
2623
]
27-
2824
dependencies = [
2925

3026
]
3127

28+
[project.urls]
29+
Repository = "https://github.com/runemalm/py-dependency-injection"
30+
Homepage = "https://py-dependency-injection.readthedocs.io/en/latest/"
31+
Documentation = "https://py-dependency-injection.readthedocs.io/en/latest/"
32+
3233
[tool.poetry.group.dev]
3334
optional = true
3435

@@ -41,10 +42,10 @@ pytest = "*"
4142
setuptools = "*"
4243
wheel = "*"
4344

44-
[tool.poetry.packages]
45-
include = "dependency_injection"
46-
from = "src"
45+
[tool.setuptools]
46+
packages = ["dependency_injection"]
47+
package-dir = {"" = "src"}
4748

4849
[build-system]
49-
requires = ["poetry-core>=2.0.0,<3.0.0"]
50-
build-backend = "poetry.core.masonry.api"
50+
requires = ["setuptools", "wheel"]
51+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)