[clang] [llvm] [libclang/python] Enable packaging libclang bindings (PR #125806)

Ryan Mast via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 8 11:22:29 PST 2025


================
@@ -0,0 +1,36 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm==8.1.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "clang"
+description = "libclang python bindings"
+readme = {file = "README.txt", content-type = "text/plain"}
+
+license = {text = "Apache-2.0 WITH LLVM-exception"}
----------------
nightlark wrote:

It looks like setuptools has support now, but went with your recommendation to use hatchling -- it seems to be about 5-6x faster (3s instead of 16s).

https://github.com/llvm/llvm-project/pull/125806


More information about the llvm-commits mailing list