| 1234567891011121314151617181920212223242526272829303132 |
- [build-system]
- requires = ["setuptools>=68"]
- build-backend = "setuptools.build_meta"
- [project]
- name = "customs-tools-service"
- version = "1.0.0"
- description = "海关问数 Agent · Python 工具执行服务(customs_process / data_read / calculator)"
- requires-python = ">=3.11"
- dependencies = [
- "fastapi>=0.110",
- "uvicorn>=0.27",
- "python-multipart>=0.0.9",
- "openpyxl>=3.1",
- "pydantic>=2.6",
- ]
- [project.optional-dependencies]
- dev = ["pytest>=8.0", "httpx>=0.27"]
- [tool.setuptools]
- packages = ["toolsvc", "toolsvc.customs", "toolsvc.customs.engine"]
- [tool.setuptools.package-data]
- "toolsvc.customs" = ["rules/*.xlsx", "README.md"]
- [tool.pytest.ini_options]
- pythonpath = ["."]
- testpaths = ["tests"]
- # basetemp 放在项目内:某些受限环境下系统临时目录不可列举
- addopts = "-q -p no:cacheprovider --basetemp=.pytest-tmp"
- filterwarnings = ["ignore::DeprecationWarning"]
|