[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "stackship"
version = "0.1.1"
description = "Deploy AI stacks with one command. Available: openclaw (OpenClaw+Ollama+Qdrant), ollama, rag. Local Docker Compose or cloud (Pro) with Terraform."
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
    { name = "AI-Engineering-Lab", email = "" },
]
keywords = [
    "ai",
    "docker",
    "deploy",
    "ollama",
    "qdrant",
    "openclaw",
    "infrastructure",
    "terraform",
    "rag",
    "langchain",
    "comfyui",
]
classifiers = [
    "Development Status :: 3 - Alpha",
    "Environment :: Console",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
    "Topic :: Software Development :: Build Tools",
    "Topic :: System :: Systems Administration",
]
dependencies = [
    "typer>=0.9.0",
    "rich>=13.0.0",
    "pyyaml>=6.0",
    "jinja2>=3.1.0",
    "httpx>=0.24.0",
    "python-dotenv>=1.0.0",
]

[project.optional-dependencies]
cloud = ["python-hcl2>=4.0.0"]
dev = ["pytest>=7.0", "pytest-cov", "ruff", "mypy"]

[project.scripts]
stackship = "stackship.cli:app"

[project.urls]
Homepage = "https://github.com/ai-engineering-lab/stackship"
Documentation = "https://github.com/ai-engineering-lab/stackship#readme"
Repository = "https://github.com/ai-engineering-lab/stackship"
Issues = "https://github.com/ai-engineering-lab/stackship/issues"

[tool.ruff]
target-version = "py310"
line-length = 100

[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP"]

# Optional[] required in cli.py for Python 3.9 (Typer evaluates annotations at runtime)
[tool.ruff.lint.per-file-ignores]
"stackship/cli.py" = ["UP045"]

[tool.pytest.ini_options]
testpaths = ["tests"]
