39 lines
659 B
TOML
39 lines
659 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "shunyunbaoerp"
|
|
version = "0.1.0"
|
|
description = "顺运宝 ERP 货运信息查询客户端"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"requests>=2.31,<3",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
api = [
|
|
"fastapi>=0.110,<1",
|
|
"uvicorn[standard]>=0.27,<1",
|
|
]
|
|
redis = [
|
|
"redis>=5,<7",
|
|
]
|
|
dev = [
|
|
"pytest>=8,<9",
|
|
]
|
|
|
|
[project.scripts]
|
|
shunyunbaoerp = "shunyunbaoerp.cli:main"
|
|
|
|
[tool.setuptools]
|
|
package-dir = {"" = "src"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|