Skip to content

Commit 8527f55

Browse files
committed
Update license and use uv to build
1 parent 1a277d5 commit 8527f55

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ check:
99

1010
build:
1111
rm -rf dist
12-
python3 -m build
12+
uv build
1313

1414
upload: build
15-
twine3 upload dist/*
15+
uv-publish
1616

1717
doc:
1818
update-readme-usage

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "sleep-inhibitor"
77
description = "Program to run plugins to inhibit system sleep/suspend/hibernate"
88
readme = "README.md"
9+
license = "GPL-3.0-or-later"
910
requires-python = ">=3.7"
1011
keywords = ["bash", "systemd-inhibit", "sleep", "suspend", "hibernate"]
1112
classifiers = [
@@ -26,9 +27,6 @@ Homepage = "https://github.com/bulletmark/sleep-inhibitor"
2627
[project.scripts]
2728
sleep-inhibitor = "sleep_inhibitor.sleep_inhibitor:main"
2829

29-
[project.license]
30-
text = "GPLv3"
31-
3230
[tool.setuptools.package-data]
3331
"*" = ["*.conf", "*.service", "plugins/*"]
3432

0 commit comments

Comments
 (0)