Skip to content

Commit c2c7eb4

Browse files
committed
Update pyproject.toml to support PEP621
Project now requires poetry >=2.0
1 parent ffb5837 commit c2c7eb4

File tree

2 files changed

+62
-24
lines changed

2 files changed

+62
-24
lines changed

poetry.lock

Lines changed: 38 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 24 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,36 @@
1-
[tool.poetry]
1+
[project]
22
name = "yin_yang"
33
version = "3.3.0"
4+
license = "MIT"
45
description = "Auto Nightmode for KDE, Gnome, Budgie, VSCode, Atom and more."
5-
authors = ["Oskar Schachtschneider"]
6+
authors = [
7+
{ name = "Oskar Schachtschneider" }
8+
]
9+
readme = "README.md"
10+
requires-python = ">=3.10, <3.14"
11+
dependencies = [
12+
"psutil==6.1.0",
13+
"PySide6-Essentials==6.8.1",
14+
"shiboken6==6.8.1",
15+
"PySide6-Addons==6.8.1",
16+
"suntime~=1.3.2",
17+
"systemd-python==235",
18+
"requests==2.32.3",
19+
"python-dateutil~=2.9.0.post0"
20+
]
21+
22+
[project.urls]
623
repository = "https://github.com/oskarsh/Yin-Yang"
724

8-
license = "MIT"
9-
readme = "README.md"
25+
[project.scripts]
26+
yin_yang = "yin_yang:__main__"
27+
28+
[tool.poetry]
29+
requires-poetry = ">=2.0"
1030
packages = [
1131
{ include = "yin_yang" }
1232
]
1333

14-
[tool.poetry.dependencies]
15-
python = "^3.10,<3.14"
16-
psutil = "6.1.0"
17-
PySide6-Essentials = "6.8.1"
18-
shiboken6 = "6.8.1"
19-
PySide6-Addons = "6.8.1"
20-
suntime = "^1.3.2"
21-
systemd-python = "235"
22-
requests = "2.32.3"
23-
python-dateutil = "^2.9.0.post0"
24-
2534
[tool.poetry.group.DEV.dependencies]
2635
flake8 = "^7.0.0"
2736
pytest = "^8.1.1"
@@ -35,9 +44,6 @@ cython = "<3.0"
3544
requires = ["poetry-core"]
3645
build-backend = "poetry.core.masonry.api"
3746

38-
[tool.poetry.scripts]
39-
yin_yang = "yin_yang:__main__"
40-
4147
[tool.pyright]
4248
include = ["yin_yang"]
4349
exclude = ["**/node_modules",

0 commit comments

Comments
 (0)