[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "smarttools"
version = "0.1.0"
description = "A lightweight personal tool builder for AI-powered CLI commands"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
    {name = "Rob"}
]
keywords = ["ai", "cli", "tools", "automation", "llm", "terminal", "unix", "pipe"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Environment :: Console",
    "Intended Audience :: Developers",
    "Intended Audience :: System Administrators",
    "License :: OSI Approved :: MIT License",
    "Operating System :: POSIX :: Linux",
    "Operating System :: MacOS",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Utilities",
    "Topic :: Software Development :: Libraries :: Python Modules",
    "Topic :: Text Processing",
]
dependencies = [
    "PyYAML>=6.0",
    "requests>=2.28",
]

[project.optional-dependencies]
tui = [
    "urwid>=2.1.0",
]
dev = [
    "pytest>=7.0",
    "pytest-cov>=4.0",
    "urwid>=2.1.0",
]
registry = [
    "Flask>=2.3",
    "argon2-cffi>=21.0",
]
all = [
    "urwid>=2.1.0",
    "Flask>=2.3",
    "argon2-cffi>=21.0",
]

[project.scripts]
smarttools = "smarttools.cli:main"

[project.urls]
Homepage = "https://gitea.brrd.tech/rob/smarttools"
Documentation = "https://gitea.brrd.tech/rob/smarttools#readme"
Repository = "https://gitea.brrd.tech/rob/smarttools.git"
Issues = "https://gitea.brrd.tech/rob/smarttools/issues"

[tool.setuptools.packages.find]
where = ["src"]

[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
    "integration: marks tests as integration tests (require running server)",
]
