获得源码 Get the source
为什么需要源码? Why do I need the source?
您可以自由地构建自定义的文档发行包。
You can freely build your own customized documentation distributions.
源码是什么样子的? How does it look like?
源码包括:The source includes:
- Twisted 官方英文文档(链接),xhtml 和 dia 格式 - Official Twisted documentation in English, xhtml and dia as external link
- 我们的成果,由 po4a 管理的 po 和 pot 文件(GNU gettext) - Our works, some po and pot files (GNU gettext) managed by po4a
- 可能不是最新的——最新的要从 LaunchPad? 上下载 - Probably not the latest. You can always get the latest works from LaunchPad?.
- build.py
- 其他,包括我们写的一些补丁、构建说明、授权协议等 - Miscellany, our patches, build guide, license, etc.
获得源码 Get the source
SVN 仓库 - Subversion repository
如何构建 How to build
- Build Dependency
You need these tools installed correctly before building:
- Python ;)
- gettext
- Po4a
- Twisted (>=8.2.0)
You can normally get these tools in the software repository of your Linux distribution. Or else, you may need some tweaks - so good luck! ;)
About Twisted itself, you may ask, isn't there already a copy in the source directory? Well yes, but I didn't try to get it working. However it is possible if you can add it into python path correctly.
- Build
Get into the source directory, and run:
$ python build.py
Then wait and you'll get the tarball under "./build/". :P
- Troubleshooting
Well, talk to fantix in #twisted at freenode.org. ;)
