mirror of https://github.com/Mai-with-u/MaiBot.git
优化 pyproject.toml 文件,调整 setuptools 配置以正确包含和排除包
parent
275608abea
commit
c834f8c59c
|
|
@ -55,9 +55,13 @@ jobs:
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
[tool.setuptools]
|
[tool.setuptools]
|
||||||
packages = ["maibot_dashboard"]
|
|
||||||
include-package-data = true
|
include-package-data = true
|
||||||
|
|
||||||
|
[tool.setuptools.packages.find]
|
||||||
|
where = ["."]
|
||||||
|
include = ["maibot_dashboard"]
|
||||||
|
exclude = ["maibot_dashboard.dist*"]
|
||||||
|
|
||||||
[tool.setuptools.package-data]
|
[tool.setuptools.package-data]
|
||||||
maibot_dashboard = ["dist/**"]
|
maibot_dashboard = ["dist/**"]
|
||||||
EOF
|
EOF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue