用于安装pygtk、pyobject和pycairo的zc.buildout方法。
tl.buildout_gtk的Python项目详细描述
tl.buildout_gtk
安装pygtk的zc.buildout方法,包括pygobject和pycairo, 也可以选择pywebkitgtk。
这个配方本身与命名项目的python绑定有关。它 假设C库已经在系统上可用,并且 他们的头文件。默认情况下构建的绑定版本需要Python2.6 或者更大。
这个方法看起来是可靠的,但是特性集基本上是 由作者的迫切需要决定。别犹豫,发问, <;thomas@thomas-lotze.de>;的错误报告、建议或修补程序。
选项
- 配置选项:
shared: Configure shared builds like with the zc.recipe.cmmi recipe. Defaults to using automatically located shared builds. pycairo-url: URL of the pycairo source code archive. pycairo-md5sum: MD5 checksum of the pycairo source code archive. pygobject: Set to ^{tt1}$ in order not to build pygobject. If pygtk is to be built, pygobject will be built regardless of this option. pygobject-url: URL of the pygobject source code archive. pygobject-md5sum: MD5 checksum of the pygobject source code archive. pygtk: Set to ^{tt1}$ in order not to build pygtk. If pywebkitgtk is to be built, pygtk will be built regardless of this option. pygtk-url: URL of the pygtk source code archive. pygtk-md5sum: MD5 checksum of the pygtk source code archive. pywebkitgtk: Set to ^{tt3}$ in order to build pywebkitgtk. Doing so will cause pygtk and pygobject to be built. pywebkitgtk-url: URL of the pywebkitgtk source code archive. pywebkitgtk-md5sum: MD5 checksum of the pywebkitgtk source code archive. 这些选项的默认值对应于最新的项目版本 在配方发布的时候。
- 导出选项:
location: Location of the buildout part containing the compiled Python bindings. path: Filesystem path to be added to the Python path in order for the bindings to be importable. This may be included in a zc.recipe.egg part’s ^{tt4}$ option, for example.
背景
这个配方的存在有两个原因: pygtk&friends的环境,并将 为方便相关项目。pywebitgtk、pygtk、pygobject和pycairo项目是使用 标准配置/制造/制造安装程序。配方设置了构建 为正确的python安装构建绑定的环境 反对对方的正确做法。
关于tl.buildout_gtk
Author: | Thomas Lotze <thomas@thomas-lotze.de> |
---|---|
PyPI page: | http://pypi.python.org/pypi/tl.buildout_gtk/ |
Issue tracker: | https://bitbucket.org/tlotze/tl.buildout_gtk/issues/ |
Source code: | https://bitbucket.org/tlotze/tl.buildout_gtk/src/ |
Current change log: | |
https://bitbucket.org/tlotze/tl.buildout_gtk/src/tip/CHANGES.txt |