refactor: move to uv

instead of poetry
This commit is contained in:
Johann Dreo 2026-04-08 08:29:12 +02:00
commit 3e58cde2fe
3 changed files with 31 additions and 10 deletions

View file

@ -20,6 +20,8 @@ The CLI bard relies on your terminal using a font patched with the "Powerline"
characters. The recommended fonts are the ones from the
[Nerd font project](https://www.nerdfonts.com/).
You may also need to install the `libgirepository-2.0-dev` on your system.
Usage
=====

View file

@ -1,15 +1,30 @@
[tool.poetry]
[project]
name = "clibard"
version = "0.1.0"
description = "See all your notifications in the terminal"
authors = ["nojhan <nojhan@nojhan.net>"]
authors = [
{ name = "nojhan", email = "nojhan@nojhan.net" },
]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
faker = "^0.7.4"
humanize = "^4.11"
rich = "^13.9"
dbus-python = "^1.3"
PyGObject = "^3.50" # You may need to install the system package for libgirepository1.0-dev
requires-python = ">3.11"
dependencies = [
"faker>=0.7.4",
"humanize>=4.11",
"rich>=13.9",
"dbus-python>=1.3",
"PyGObject>=3.50", # You may need to install the system package for libgirepository-2.0-dev
]
[project.scripts]
clibard = "clibard.clibard:main"
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["clibard"]

View file

@ -414,7 +414,7 @@ def test_messages(nb = 7):
return notifs
if __name__ == "__main__":
def main():
import sys
import argparse
@ -457,3 +457,7 @@ if __name__ == "__main__":
elif asked.layout[0] == "v":
broker = VerticalBroker(msg_cls=MessageBox)
broker.run()
if __name__ == "__main__":
main()