From 93996864924ae99053722f6af6ef74b3c8f809a8 Mon Sep 17 00:00:00 2001 From: Sebastian Humenda Date: Wed, 21 Jan 2026 11:23:45 +0100 Subject: [PATCH] Provide a pyproject.toml to ease installation Using pyproject.toml, users can now easily use pipx and related methods to install clair. --- pyproject.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5b0b1b1 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,25 @@ +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "clair" +version = "0.1.0" +description = "AI CLI tools for prompt-based analysis" +readme = "README.md" +license = { text = "LGPL-3.0" } +requires-python = ">=3.10" +dependencies = [ + "requests", + "PyPDF2", + "python-docx", + "opencv-python", + "pypdfium2", + "Pillow", +] + +[project.scripts] +clair = "clair:main" + +[tool.setuptools] +py-modules = ["clair"]