This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 27a3b944db5 [AINode] fix missing dependency in wheel file (#14818)
27a3b944db5 is described below

commit 27a3b944db5cf471cf8287ebeefdcd2b155e44d8
Author: YangCaiyin <[email protected]>
AuthorDate: Wed Feb 12 14:19:28 2025 +0800

    [AINode] fix missing dependency in wheel file (#14818)
---
 iotdb-core/ainode/pyproject.toml               | 12 ++++++------
 iotdb-core/ainode/resources/conf/ainode-env.sh |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/iotdb-core/ainode/pyproject.toml b/iotdb-core/ainode/pyproject.toml
index c7f773b0590..15768562864 100644
--- a/iotdb-core/ainode/pyproject.toml
+++ b/iotdb-core/ainode/pyproject.toml
@@ -34,12 +34,12 @@ classifiers = [
     "Topic :: Software Development :: Libraries :: Python Modules",
 ]
 include = [
-    "iotdb/thrift/*",
-    "iotdb/thrift/common/*",
-    "iotdb/thrift/confignode/*",
-    "iotdb/thrift/datanode/*",
-    "iotdb/thrift/ainode/*",
-    "iotdb/conf/*",
+    {path = "iotdb/thrift/*", format = "wheel"},
+    {path = "iotdb/thrift/common/*", format = "wheel"},
+    {path = "iotdb/thrift/confignode/*", format = "wheel"},
+    {path = "iotdb/thrift/datanode/*", format = "wheel"},
+    {path = "iotdb/thrift/ainode/*", format = "wheel"},
+    {path = "iotdb/conf/*", format = "wheel"},
 ]
 packages = [
     { include = "iotdb" }
diff --git a/iotdb-core/ainode/resources/conf/ainode-env.sh 
b/iotdb-core/ainode/resources/conf/ainode-env.sh
index b2737ebe150..1ec434ad2d9 100644
--- a/iotdb-core/ainode/resources/conf/ainode-env.sh
+++ b/iotdb-core/ainode/resources/conf/ainode-env.sh
@@ -110,7 +110,7 @@ fi
 echo "Installing AINode..."
 cd "$SCRIPT_DIR/../lib/"
 shopt -s nullglob
-for i in *.whl *.tar.gz; do
+for i in *.whl; do
   if [[ $i =~ "ainode" ]]; then
     echo Installing AINode body: $i
     if [ -z "$p_pypi_mirror" ]; then

Reply via email to