[project]
name = "inkflow"
version = "0.1.0"
description = "EPUB -> livre audio, 100% local sur Mac (MLX). Analyse Gemma + TTS Qwen3/Kokoro."
requires-python = ">=3.11"
dependencies = [
    # MLX (Apple Silicon)
    "mlx",
    "mlx-lm",
    "mlx-audio",
    "misaki",          # phonemizer pour Kokoro (français inclus)
    # Parsing EPUB
    "ebooklib",
    "beautifulsoup4",
    "lxml",
    # Audio
    "soundfile",       # lecture/ecriture wav
    "numpy",           # concat audio + normalisation
    "mutagen",         # tags id3 + cover (encodage mp3 via ffmpeg CLI)
    # API web
    "fastapi",
    "uvicorn[standard]",
    "websockets",
    "python-multipart", # upload de fichiers
    # Divers
    "pydantic>=2",
    "rich",            # logs CLI lisibles
    "typer",           # CLI
]

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

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"

[tool.setuptools.packages.find]
where = ["."]
include = ["inkflow*"]
