[Mlir-commits] [mlir] [mlir][python] add pyproject.toml (PR #124878)
Jacques Pienaar
llvmlistbot at llvm.org
Fri Mar 7 09:36:03 PST 2025
================
@@ -0,0 +1,43 @@
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+# Copyright (c) 2025.
+
+[project]
+name = "mlir-python-bindings"
+version = "0.0.1"
+requires-python = ">=3.8,<=3.13"
+[project.urls]
+Homepage = "https://github.com/llvm/llvm-project"
+Discussions = "https://discourse.llvm.org/"
+"Issue Tracker" = "https://github.com/llvm/llvm-project/issues?q=is%3Aissue%20state%3Aopen%20label%3Amlir%3Apython%20"
+"Source Code" = "https://github.com/llvm/llvm-project/tree/main/mlir/python"
+
+[build-system]
+requires = [
+ "scikit-build-core==0.10.7",
+ "typing_extensions==4.12.2",
+ "nanobind>=2.4, <3.0",
+ "numpy>=1.19.5, <=2.1.2",
+ "pybind11>=2.10.0, <=2.13.6",
+ "PyYAML>=5.4.0, <=6.0.1",
+ 'ml_dtypes>=0.1.0, <=0.6.0; python_version<"3.13"',
----------------
jpienaar wrote:
I feel like this is optional and so too numpy - both very useful and used by most, but optional.
https://github.com/llvm/llvm-project/pull/124878
More information about the Mlir-commits
mailing list