# File: pyproject.toml

[build-system]
# Define the build system requirements
requires = ["setuptools>=80.9", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "myfasthtml"
version = "0.1.0"
description = "Set of tools to quickly create HTML pages using FastHTML."
readme = "README.md"
authors = [
    { name = "Kodjo Sossouvi", email = "kodjo.sossouvi@gmail.com" },
]
maintainers = [
    { name = "Kodjo Sossouvi", email = "kodjo.sossouvi@gmail.com" }
]
license = "MIT"
requires-python = ">=3.12"
classifiers = [
    "Operating System :: OS Independent",
    "Framework :: FastAPI",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.12",
    "Topic :: Auth",
]

# -------------------------------------------------------------------
#  Core dependencies from your README
#  Note: 'requirements.txt' is for development, this is for the package
# -------------------------------------------------------------------
dependencies = [
    "myauth",
    "myutils",
]

[project.urls]
# Optional: Link to your internal repository or documentation
Homepage = "https://gitea.sheerka.synology.me/kodjo/MyFastHtml"
Documentation = "https://gitea.sheerka.synology.me/kodjo/MyFastHtml#readme"
Repository = "https://gitea.sheerka.synology.me/kodjo/MyFastHtml"
Issues = "https://gitea.sheerka.synology.me/kodjo/MyFastHtml/issues"

# -------------------------------------------------------------------
#  Optional dependencies ("extras")
#  This allows users to install only what they need, e.g.:
#  pip install myauth[mongodb,email]
# -------------------------------------------------------------------
[project.optional-dependencies]
# For development and testing (from your requirements.txt)
dev = [
    "pytest",
    "httpx",
    "anyio",
    "email-validator",
    "python-dotenv"
]

# -------------------------------------------------------------------
#  Setuptools configuration
#  This section tells the build system where to find your package code
# -------------------------------------------------------------------
[tool.setuptools]
package-dir = {"" = "src"}
packages = ["myfasthtml"]
