pyproject.toml 与现代 Python 项目结构 | Python
本章覆盖:pyproject.toml 的 [build-system]、[project]、[tool] 高层结构;src layout 与 tests 目录;项目元数据和依赖声明;构建后端概念;wheel 与 source distribution 基础;打包/发布流程只建立工程认知,不深入 PyPI 发布维护。
本章知识点
- pyproject.toml 的 [build-system]、[project]、[tool] 高层结构
- src layout 与 tests 目录
- 项目元数据和依赖声明
- 构建后端概念
- wheel 与 source distribution 基础
- 打包/发布流程只建立工程认知,不深入 PyPI 发布维护