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

Vlad Serebrennikov via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 04:04:28 PST 2025


================
@@ -0,0 +1,34 @@
+[build-system]
+requires = ["setuptools>=42", "setuptools_scm"]
+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" }
+authors = [
+    { name = "LLVM" }
+]
+keywords = ["llvm", "clang", "libclang"]
+classifiers = [
+    "Intended Audience :: Developers",
+    "License :: OSI Approved :: Apache Software License",
+    "Development Status :: 5 - Production/Stable",
+    "Topic :: Software Development :: Compilers",
+    "Operating System :: OS Independent",
+    "Programming Language :: Python :: 3",
+]
+dynamic = ["version"]
+
+[project.urls]
+Homepage = "http://clang.llvm.org/"
+Download = "http://llvm.org/releases/download.html"
----------------
Endilll wrote:

> Is there an official documentation site with info for the clang python bindings?

I don't think there is, but the most promising route seems to get https://libclang.readthedocs.io official and regularly updated. 

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


More information about the llvm-commits mailing list