Skip to content

Commit 92616d0

Browse files
build: update pyproject.toml format
Also add Lua library directory in `<base>\lua`
1 parent c2d070d commit 92616d0

2 files changed

Lines changed: 18 additions & 6 deletions

File tree

‎lua/LIBRARY‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This directory contains Lua libraty files and their checksums

‎pyproject.toml‎

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,29 @@
1-
[tool.poetry]
1+
[project]
22
name = "when"
33
version = "2.0.3"
44
description = "Interface for the **whenever** automation tool"
5-
authors = ["Francesco Garosi <francesco.garosi@gmail.com>"]
5+
authors = [
6+
{ name = "Francesco Garosi", email = "francesco.garosi@gmail.com" },
7+
]
68
license = 'BSD 3-Clause "New" or "Revised" License'
79
readme = "README.md"
10+
requires-python = ">=3.10"
11+
12+
[tool.poetry]
813
packages = [
914
{ include = "lib" },
1015
{ include = "when" },
1116
]
17+
include = [
18+
"lua",
19+
]
20+
21+
[project.scripts]
22+
when = "when.when:main"
23+
24+
[project.gui-scripts]
25+
when-bg = "when.when_bg:run_bg"
26+
1227

1328
[tool.poetry.dependencies]
1429
python = "^3.10"
@@ -34,10 +49,6 @@ ttkbootstrap-icons-mat = "^1.0.0"
3449
winshell = { version = "^0.6", markers = "sys_platform == 'win32'" }
3550
wmi = { version = "^1.5.1", markers = "sys_platform == 'win32'" }
3651

37-
[tool.poetry.scripts]
38-
when = "when.when:main"
39-
when-bg = "when.when_bg:run_bg"
40-
4152
[build-system]
4253
requires = ["poetry-core"]
4354
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)