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

[project]
name = "pymdgen"
readme = "README.md"
version = "1.1.0"
description = "python code markdown documentation generator"
authors = [{ name = "20C", email = "code@20c.com" }]
license = "Apache-2.0"
requires-python = ">=3.8"
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "License :: OSI Approved :: Apache Software License",
    "Programming Language :: Python :: 3.8",
    "Programming Language :: Python :: 3.9",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12"
]

include = [ "LICENSE", "Ctl/VERSION", "src/pymdgen/*.py", ]

dependencies = [
    "pluggy>=1.5.0",
    "pre-commit>=2.14.0",
]

[project.optional-dependencies]
dev = [
    "codecov>=2.0.5",
    "coverage>=4.1",
    "pytest>=8",
    "pytest-cov>=5",
    "tox>=4",
    "tox-gh_actions>=3",
    "tox-uv>=1.13.0",
    "pyupgrade>=2.19",
    "ruff>=0.1",
    "markdown",
    "markdown-include>=0.5,<1",
    "mkdocs>=1.0.0,<2.0.0",
]

[project.entry-points."markdown.extensions"]
pymdgen = "pymdgen.md:Extension"

[project.scripts]
pymdgen = "pymdgen.cli:main"

[project.source]
name = "pypi-public"
url = "https://pypi.org/simple/"
