Skip to content

Commit e4081b9

Browse files
[AINode] Fix: reduce package size (apache#16511)
1 parent 32c8028 commit e4081b9

File tree

1 file changed

+35
-18
lines changed

1 file changed

+35
-18
lines changed

iotdb-core/ainode/pyproject.toml

Lines changed: 35 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,42 @@ classifiers = [
3434
"Topic :: Software Development :: Libraries :: Python Modules",
3535
]
3636
include = [
37-
{path = "iotdb/*", format = "wheel"},
38-
{path = "iotdb/dbapi/*", format = "wheel"},
39-
{path = "iotdb/sqlalchemy/*", format = "wheel"},
40-
{path = "iotdb/template/*", format = "wheel"},
41-
{path = "iotdb/thrift/*", format = "wheel"},
42-
{path = "iotdb/thrift/ainode/*", format = "wheel"},
43-
{path = "iotdb/thrift/common/*", format = "wheel"},
44-
{path = "iotdb/thrift/confignode/*", format = "wheel"},
45-
{path = "iotdb/thrift/datanode/*", format = "wheel"},
46-
{path = "iotdb/thrift/rpc/*", format = "wheel"},
47-
{path = "iotdb/tsfile/*", format = "wheel"},
48-
{path = "iotdb/tsfile/common/*", format = "wheel"},
49-
{path = "iotdb/tsfile/common/constant/*", format = "wheel"},
50-
{path = "iotdb/tsfile/utils/*", format = "wheel"},
51-
{path = "iotdb/utils/*", format = "wheel"},
52-
{path = "iotdb/ainode/conf/*", format = "wheel"},
37+
{ path = "iotdb/dbapi/*", format = "wheel" },
38+
{ path = "iotdb/sqlalchemy/*", format = "wheel" },
39+
{ path = "iotdb/template/*", format = "wheel" },
40+
{ path = "iotdb/thrift/*", format = "wheel" },
41+
{ path = "iotdb/thrift/ainode/*", format = "wheel" },
42+
{ path = "iotdb/thrift/common/*", format = "wheel" },
43+
{ path = "iotdb/thrift/confignode/*", format = "wheel" },
44+
{ path = "iotdb/thrift/datanode/*", format = "wheel" },
45+
{ path = "iotdb/thrift/rpc/*", format = "wheel" },
46+
{ path = "iotdb/tsfile/*", format = "wheel" },
47+
{ path = "iotdb/tsfile/common/*", format = "wheel" },
48+
{ path = "iotdb/tsfile/common/constant/*", format = "wheel" },
49+
{ path = "iotdb/tsfile/utils/*", format = "wheel" },
50+
{ path = "iotdb/utils/*", format = "wheel" },
51+
{ path = "iotdb/__init__.py", format = "wheel" },
52+
{ path = "iotdb/ainode/__init__.py", format = "wheel" },
53+
{ path = "iotdb/ainode/conf/*", format = "wheel" },
54+
{ path = "iotdb/ainode/script.py", format = "wheel" }
5355
]
56+
5457
packages = [
55-
{ include = "iotdb/ainode" }
58+
{ include = "iotdb/ainode/core" }
59+
]
60+
61+
exclude = [
62+
"**/__pycache__/**",
63+
"**/*.pyc", "**/*.pyo",
64+
"**/.DS_Store",
65+
"**/*.log", "**/*.log.gz",
66+
"venv/**", ".venv/**", "*/.venv/**",
67+
"iotdb/ainode/core/data/**",
68+
"iotdb/ainode/core/logs/**",
69+
"iotdb/**/.cache/**",
70+
"iotdb/**/download/**",
71+
"iotdb/**/logs/**",
72+
"iotdb/**/log-*.log*"
5673
]
5774

5875
[tool.poetry.dependencies]
@@ -103,4 +120,4 @@ isort = "6.0.1"
103120
ainode = "iotdb.ainode.core.script:main"
104121

105122
[tool.isort]
106-
profile = "black"
123+
profile = "black"

0 commit comments

Comments
 (0)