This is an automated email from the ASF dual-hosted git repository.
syfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 8c3cab2009 [BugFix] Declare build backend for python package (#17677)
8c3cab2009 is described below
commit 8c3cab20095305fca4dc1e8b10fefe8facc3b318
Author: Masahiro Hiramori <[email protected]>
AuthorDate: Tue Feb 25 17:30:03 2025 +0900
[BugFix] Declare build backend for python package (#17677)
declare build backend
---
python/pyproject.toml | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/python/pyproject.toml b/python/pyproject.toml
new file mode 100644
index 0000000000..9ee10d1375
--- /dev/null
+++ b/python/pyproject.toml
@@ -0,0 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+[build-system]
+requires = [
+ "setuptools >= 61.0",
+ "cython",
+]
+build-backend = "setuptools.build_meta"