[project]
name = "sqlglotc"
dynamic = ["version"]
description = "mypyc-compiled extensions for sqlglot"
authors = [{ name = "Toby Mao", email = "toby.mao@gmail.com" }]
license = "MIT"
requires-python = ">= 3.10"

[project.optional-dependencies]
dev = ["setuptools >= 61.0", "setuptools_scm", "sqlglot-mypy >= 1.20.0.post6"]

[project.urls]
Homepage = "https://sqlglot.com/"
Repository = "https://github.com/tobymao/sqlglot"

[build-system]
requires = [
    "setuptools >= 61.0",
    "setuptools_scm",
    "sqlglot-mypy >= 1.20.0.post6",
    "types-python-dateutil",
    "sqlglot",
]
build-backend = "setuptools.build_meta"

[tool.setuptools]
include-package-data = false

[tool.setuptools_scm]
root = ".."
fallback_version = "0.0.0"
local_scheme = "no-local-version"

[[tool.mypy.overrides]]
module = ["sqlglot._version", "sqlglotc"]
ignore_missing_imports = true
