44 lines · toml
1[build-system]2requires = ["hatchling>=1.27", "hatch-vcs>=0.4"]3build-backend = "hatchling.build"4 5[project]6name = "clang"7description = "clang python bindings"8readme = {file = "README.txt", content-type = "text/plain"}9 10license = "Apache-2.0 WITH LLVM-exception"11authors = [12 { name = "LLVM" }13]14keywords = ["llvm", "clang", "libclang"]15classifiers = [16 "Intended Audience :: Developers",17 "Development Status :: 5 - Production/Stable",18 "Topic :: Software Development :: Compilers",19 "Operating System :: OS Independent",20 "Programming Language :: Python :: 3",21]22requires-python = ">=3.8"23dynamic = ["version"]24 25[project.urls]26Homepage = "https://clang.llvm.org/"27Download = "https://llvm.org/releases/download.html"28Discussions = "https://discourse.llvm.org/"29"Issue Tracker" = "https://github.com/llvm/llvm-project/issues"30"Source Code" = "https://github.com/llvm/llvm-project/tree/main/clang/bindings/python"31 32[tool.hatch.version]33source = "vcs"34version-scheme = "no-guess-dev"35# regex version capture group gets x.y.z with optional -rcN, -aN, -bN suffixes; -init is just consumed36tag-pattern = "^llvmorg-(?P<version>\\d+(?:\\.\\d+)*(?:-rc\\d+)?)"37 38[tool.hatch.build.hooks.vcs]39version-file = "clang/_version.py"40 41[tool.hatch.version.raw-options]42search_parent_directories = true43version_scheme = "no-guess-dev"44