[project]
name = "reflex-base"
dynamic = ["version"]
description = "Core types for the Reflex framework."
license.text = "Apache-2.0"
readme = "README.md"
authors = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
maintainers = [{ name = "Khaleel Al-Adhami", email = "khaleel@reflex.dev" }]
requires-python = ">=3.10"
dependencies = [
  "packaging >=24.2,<27",
  "rich >=13,<16",
  "typing_extensions >=4.13.0",
  "platformdirs >=4.3.7,<5.0",
]

[project.optional-dependencies]
pydantic = ["pydantic >=2.12.0,<3.0"]

[tool.hatch.version]
source = "uv-dynamic-versioning"

[tool.uv-dynamic-versioning]
pattern-prefix = "reflex-base-"
fallback-version = "0.0.0dev0"

[tool.hatch.build]
artifacts = [".templates/**"]

[build-system]
requires = ["hatchling", "uv-dynamic-versioning"]
build-backend = "hatchling.build"
