【发布时间】:2013-10-07 14:38:32
【问题描述】:
使用 Python 2.x 打包 python 模块的当前参考在哪里?
- http://guide.python-distribute.org/ The Hitchhiker’s Guide to Packaging(2010 年 7 月最新更新)
- http://docs.python.org/2.7/distutils/index.html distutils:分发 Python 模块
- https://python-packaging-user-guide.readthedocs.org/en/latest/ Python 打包用户指南(hitchhiker 指南的分支,活着)
我找到了上述版本。我应该关注哪一个?
我的模块很简单。一些 Python 文件、一些 Python 脚本和一些模板 (django)。
2021 年更新
我很高兴。今天很清楚找到维护的教程:
【问题讨论】:
-
要了解未来版本中的内容,您可能需要阅读 PEP 453 和这篇文章:lwn.net/Articles/570471
标签: python package pip easy-install egg