引文内容类型
collective.types.citation的Python项目详细描述
集合.类型.引文
概述
collective.types.citation包
此类型用于引用。输入适用的信息,并根据引用的类型更改显示。使用或不使用拼贴。
状态
这个版本目前处于测试阶段。 collective.types.citation的更改日志
collective.types.citiation-9.01测试版
- Initial package structure. (Liz Dahlstrom)
collective.types.citation安装
要使用传统的zope 2实例将collective.types.citation安装到全局python环境(或workingenv),可以执行以下操作:
- 当你读到这篇文章的时候,你可能已经跑了 easy_install collective.types.citation。了解如何安装setuptools (和easyinstall)这里: http://peak.telecommunity.com/DevCenter/EasyInstall
If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:
python setup.py install --home /path/to/instanceinto your Zope instance.
Create a file called ^{tt2}$ in the ^{tt3}$ directory. The file should only contain this:
<include package="collective.types.citation" />
或者,如果您使用的是zc.buildout和plone.recipe.zope2instance 配方管理您的项目,您可以这样做:
Add ^{tt4}$ to the list of eggs to install, e.g.:
[buildout] ... eggs = ... collective.types.citationTell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance] recipe = plone.recipe.zope2instance ... zcml = collective.types.citationRe-run buildout, e.g. with:
$ ./bin/buildout
如果要显式地包含包,可以跳过zcml slug 从另一个包的configure.zcml文件。