This is an automated email from the ASF dual-hosted git repository.
yongzao 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 e4081b90a2c [AINode] Fix: reduce package size (#16511)
e4081b90a2c is described below
commit e4081b90a2cec7038d4441468771a183926df725
Author: Zeyu Zhang <[email protected]>
AuthorDate: Thu Oct 2 14:49:07 2025 +0800
[AINode] Fix: reduce package size (#16511)
---
iotdb-core/ainode/pyproject.toml | 53 ++++++++++++++++++++++++++--------------
1 file changed, 35 insertions(+), 18 deletions(-)
diff --git a/iotdb-core/ainode/pyproject.toml b/iotdb-core/ainode/pyproject.toml
index 6bda220fba6..f2908f9a64e 100644
--- a/iotdb-core/ainode/pyproject.toml
+++ b/iotdb-core/ainode/pyproject.toml
@@ -34,25 +34,42 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
- {path = "iotdb/*", format = "wheel"},
- {path = "iotdb/dbapi/*", format = "wheel"},
- {path = "iotdb/sqlalchemy/*", format = "wheel"},
- {path = "iotdb/template/*", format = "wheel"},
- {path = "iotdb/thrift/*", format = "wheel"},
- {path = "iotdb/thrift/ainode/*", format = "wheel"},
- {path = "iotdb/thrift/common/*", format = "wheel"},
- {path = "iotdb/thrift/confignode/*", format = "wheel"},
- {path = "iotdb/thrift/datanode/*", format = "wheel"},
- {path = "iotdb/thrift/rpc/*", format = "wheel"},
- {path = "iotdb/tsfile/*", format = "wheel"},
- {path = "iotdb/tsfile/common/*", format = "wheel"},
- {path = "iotdb/tsfile/common/constant/*", format = "wheel"},
- {path = "iotdb/tsfile/utils/*", format = "wheel"},
- {path = "iotdb/utils/*", format = "wheel"},
- {path = "iotdb/ainode/conf/*", format = "wheel"},
+ { path = "iotdb/dbapi/*", format = "wheel" },
+ { path = "iotdb/sqlalchemy/*", format = "wheel" },
+ { path = "iotdb/template/*", format = "wheel" },
+ { path = "iotdb/thrift/*", format = "wheel" },
+ { path = "iotdb/thrift/ainode/*", format = "wheel" },
+ { path = "iotdb/thrift/common/*", format = "wheel" },
+ { path = "iotdb/thrift/confignode/*", format = "wheel" },
+ { path = "iotdb/thrift/datanode/*", format = "wheel" },
+ { path = "iotdb/thrift/rpc/*", format = "wheel" },
+ { path = "iotdb/tsfile/*", format = "wheel" },
+ { path = "iotdb/tsfile/common/*", format = "wheel" },
+ { path = "iotdb/tsfile/common/constant/*", format = "wheel" },
+ { path = "iotdb/tsfile/utils/*", format = "wheel" },
+ { path = "iotdb/utils/*", format = "wheel" },
+ { path = "iotdb/__init__.py", format = "wheel" },
+ { path = "iotdb/ainode/__init__.py", format = "wheel" },
+ { path = "iotdb/ainode/conf/*", format = "wheel" },
+ { path = "iotdb/ainode/script.py", format = "wheel" }
]
+
packages = [
- { include = "iotdb/ainode" }
+ { include = "iotdb/ainode/core" }
+]
+
+exclude = [
+ "**/__pycache__/**",
+ "**/*.pyc", "**/*.pyo",
+ "**/.DS_Store",
+ "**/*.log", "**/*.log.gz",
+ "venv/**", ".venv/**", "*/.venv/**",
+ "iotdb/ainode/core/data/**",
+ "iotdb/ainode/core/logs/**",
+ "iotdb/**/.cache/**",
+ "iotdb/**/download/**",
+ "iotdb/**/logs/**",
+ "iotdb/**/log-*.log*"
]
[tool.poetry.dependencies]
@@ -103,4 +120,4 @@ isort = "6.0.1"
ainode = "iotdb.ainode.core.script:main"
[tool.isort]
-profile = "black"
\ No newline at end of file
+profile = "black"