Skip to content

Commit 73f3526

Browse files
committed
chore: don't declare tool.poetry fully to try to make it work for py 3.7/3.8 in workflow
1 parent 1a7cdf1 commit 73f3526

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

pyproject.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22
name = "py-dependency-injection"
33
version = "1.0.0-rc.2"
44
description = "A dependency injection library for Python - inspired by ASP.NET Core."
5-
authors = [
6-
{name = "David Runemalm",email = "david.runemalm@gmail.com"}
7-
]
8-
license = {text = "MIT"}
5+
authors = [{ name = "David Runemalm", email = "david.runemalm@gmail.com" }]
6+
license = { text = "MIT" }
97
readme = "README.md"
8+
requires-python = ">=3.7"
109
repository = "https://github.com/runemalm/py-dependency-injection"
1110
homepage = "https://py-dependency-injection.readthedocs.io/en/latest/"
1211
documentation = "https://py-dependency-injection.readthedocs.io/en/latest/"
1312
keywords = ["dependency injection", "di", "ioc", "inversion of control", "python"]
14-
requires-python = ">=3.7"
1513
classifiers = [
1614
"Development Status :: 4 - Beta",
1715
"Intended Audience :: Developers",
@@ -43,10 +41,9 @@ pytest = "*"
4341
setuptools = "*"
4442
wheel = "*"
4543

46-
[tool.poetry]
47-
packages = [
48-
{ include = "dependency_injection", from = "src" }
49-
]
44+
[tool.poetry.packages]
45+
include = "dependency_injection"
46+
from = "src"
5047

5148
[build-system]
5249
requires = ["poetry-core>=2.0.0,<3.0.0"]

0 commit comments

Comments
 (0)