| 1 |
[build-system] |
| 2 |
requires = ["hatchling>=1.27", "hatch-vcs>=0.4"] |
| 3 |
build-backend = "hatchling.build" |
| 4 |
|
| 5 |
[project] |
| 6 |
name = "clang" |
| 7 |
description = "clang python bindings" |
| 8 |
readme = {file = "README.txt", content-type = "text/plain"} |
| 9 |
|
| 10 |
license = "Apache-2.0 WITH LLVM-exception" |
| 11 |
authors = [ |
| 12 |
{ name = "LLVM" } |
| 13 |
] |
| 14 |
keywords = ["llvm", "clang", "libclang"] |
| 15 |
classifiers = [ |
| 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 |
] |
| 22 |
requires-python = ">=3.8" |
| 23 |
dynamic = ["version"] |
| 24 |
|
| 25 |
[project.urls] |
| 26 |
Homepage = "https://clang.llvm.org/" |
| 27 |
Download = "https://llvm.org/releases/download.html" |
| 28 |
Discussions = "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] |
| 33 |
source = "vcs" |
| 34 |
version-scheme = "no-guess-dev" |
| 35 |
# regex version capture group gets x.y.z with optional -rcN, -aN, -bN suffixes; -init is just consumed |
| 36 |
tag-pattern = "^llvmorg-(?P<version>\\d+(?:\\.\\d+)*(?:-rc\\d+)?)" |
| 37 |
|
| 38 |
[tool.hatch.build.hooks.vcs] |
| 39 |
version-file = "clang/_version.py" |
| 40 |
|
| 41 |
[tool.hatch.version.raw-options] |
| 42 |
search_parent_directories = true |
| 43 |
version_scheme = "no-guess-dev" |