=============== 项目构建工具 =============== :作者: 王蒙 :标签: Python 开发,测试,构建工具,CI,自动化 :简介: Python 项目构建工具有: Buildout 和 tox。这里主要介绍 tox 。 .. contents:: 目标读者 =========== Python 开发 预备知识 ============= 问题 ======= - 学习 tox, 了解 tox 的功能。 解决办法 ========== 读 tox 文档 - https://tox.readthedocs.io/en/latest/examples.html - https://tox.readthedocs.io/en/latest/config.html 学习了 tox 的操作。有如下几点没有学完: 1. config.html 中的 Advanced settings 没读懂。 2. example.html 中的 Generate documentation, Using tox with Jenkins Integration Server. 暂时没看。General tips and tricks 中的 Access package artifacts between multiple tox-runs 不理解,不会用。 读完上面的两篇文档,基本就会用 tox。 参考文献 ========= - tox: https://tox.readthedocs.io/en/latest/examples.html - tox 源码: https://github.com/tox-dev/tox