[build-system] requires = ["setuptools>=68"] build-backend = "setuptools.build_meta" [project] name = "hhstream" version = "0.1.0" description = "Publish a headless Hyprland session's frames on a Unix socket" requires-python = ">=3.11" # The frame socket, the CLI and the broker are stdlib-only by policy # (docs/CONTRACT-sessions.md ยง6, rule 3). The input driver is the one # exception, twice over: talking Wayland means speaking the wire protocol, and # turning a keysym name into the keycode-plus-modifier-mask that *this* layout # needs means compiling an XKB keymap. Re-implementing either here would be a # worse idea than a dependency, and `xkbcommon` is deliberately NOT optional -- # an optional one would let `tests/pointer/test_keymap.py` skip, and the # unmappable-character path is exactly the one that must not rot. dependencies = ["pywayland>=0.4", "xkbcommon>=1.0"] [project.scripts] hhstream-server = "hhstream.server:main" hhstream-client = "hhstream.client:main" # The one front door: frames/launch/record verbs plus the `session` namespace. hhstream = "hhstream.cli:main" # The session daemon. A separate process on purpose: it outlives every CLI call. hhstreamd = "hhstreamd.__main__:main" # The pointer driver. Its own process because a Wayland client needs its own # connection, and a blocked one must not stall the broker. hhstream-pointer = "hhstream_pointer.__main__:main" [tool.setuptools.packages.find] where = ["src"]