38 lines
793 B
TOML
38 lines
793 B
TOML
[project]
|
|
name = "suimemodeltraner"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"modelscope>=1.35.1",
|
|
"onnx>=1.20.1",
|
|
"torch>=2.10.0",
|
|
]
|
|
|
|
[tool.uv]
|
|
# 设置当前项目的默认索引源
|
|
index-url = "https://pypi.tuna.tsinghua.edu.cn/simple"
|
|
[dependency-groups]
|
|
dev = [
|
|
"autocommit",
|
|
"pytest>=9.0.2",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
autocommit = { git = "https://gitea.winkinshly.site/songsenand/autocommit.git" }
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools]
|
|
# 👇 这是关键:指定包在 src/ 下
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.setuptools.package-data]
|
|
model = ["assets/*"]
|