snapshot of https://github.com/ActivityWatch/aw-watcher-afk.git (master, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Build / Test on macos-latest (py-3.9) (push) Has been cancelled
Build / Test on ubuntu-24.04 (py-3.9) (push) Has been cancelled
Build / Test on windows-latest (py-3.9) (push) Has been cancelled
CodeQL / Analyze (python) (push) Failing after 1m36s

This commit is contained in:
upstream-mirror
2026-09-16 00:21:02 +05:00
commit 87aaa2add8
22 changed files with 2929 additions and 0 deletions

35
pyproject.toml Normal file
View File

@@ -0,0 +1,35 @@
[tool.poetry]
name = "aw-watcher-afk"
version = "0.2.0"
description = "AFK watcher for ActivityWatch"
authors = ["Erik Bjäreholt <erik@bjareho.lt>"]
license = "MPL-2.0"
[tool.poetry.scripts]
aw-watcher-afk = "aw_watcher_afk:main"
[tool.poetry.dependencies]
python = "^3.8"
aw-client = "^0.5.14"
pyobjc-framework-Quartz = { version = "*", platform = "darwin" }
pynput = "*"
# locked due to https://github.com/python-xlib/python-xlib/pull/242 leading to 100% CPU stalls
# see: https://github.com/ActivityWatch/aw-watcher-window/issues/89
python-xlib = { version = "0.31", platform = "linux" }
# Optional: gamepad/joystick support via evdev (Linux only)
# Install with: pip install evdev (or: pip install aw-watcher-afk[gamepad])
evdev = { version = ">=1.4", platform = "linux", optional = true }
[tool.poetry.extras]
gamepad = ["evdev"]
[tool.poetry.dev-dependencies]
mypy = "*"
macholib = {version = "*", platform = "darwin"}
pyinstaller = {version = "^6.6", python = "^3.8,<3.14"}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"