Skip to main content

automatic copy zexps to Plone's import directory

Project description

.. contents::
- 由于Plone实例下的import目录,每次运行buildout命令都会被系统置换,用户放入的Plone zexp文件被冲掉
- 为了自动添加被冲掉的zexp文件,而开发该模块。
- 主要功能:每次运行buildout命令时,自动拷贝指定目录下的zexp文件到Plone实例的import目录。

.. Note to recipe author!
---------------------
Update the following URLs to point to your:

- code repository
- bug tracker
- questions/comments feedback mail
(do not set a real mail, to avoid spams)

Or remove it if not used.

- Code repository: http://pypi.python.org/pypi/my315ok.recipe.cpzexp
- Questions and comments to http://plone.315ok.org/
- Report bugs at http://plone.315ok.org/


Detailed Documentation
**********************

Supported options
=================

The recipe supports the following options:

.. Note to recipe author!
----------------------
For each option the recipe uses you should include a description
about the purpose of the option, the format and semantics of the
values it accepts, whether it is mandatory or optional and what the
default value is if it is omitted.

option1
Description for ``option1``...

option2
Description for ``option2``...


Example usage
=============

.. Note to recipe author!
----------------------
zc.buildout provides a nice testing environment which makes it
relatively easy to write doctests that both demonstrate the use of
the recipe and test it.
You can find examples of recipe doctests from the PyPI, e.g.

http://pypi.python.org/pypi/zc.recipe.egg

The PyPI page for zc.buildout contains documentation about the test
environment.

http://pypi.python.org/pypi/zc.buildout#testing-support

Below is a skeleton doctest that you can start with when building
your own tests.

We'll start by creating a buildout that uses the recipe::

>>> write('buildout.cfg',
... """
... [buildout]
... parts = test1
...
... [test1]
... recipe = my315ok.recipe.cpzexp
... option1 = %(foo)s
... option2 = %(bar)s
... """ % { 'foo' : 'value1', 'bar' : 'value2'})

Running the buildout gives us::

>>> print 'start', system(buildout)
start...
Installing test1.
Unused options for test1: 'option2' 'option1'.
<BLANKLINE>



Contributors
************

"", Author


Change history
**************

1.0 (xxxx-xx-xx)
----------------

- Created recipe with ZopeSkel
[""]

Download
********

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my315ok.recipe.cpzexp-1.0.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file my315ok.recipe.cpzexp-1.0.tar.gz.

File metadata

File hashes

Hashes for my315ok.recipe.cpzexp-1.0.tar.gz
Algorithm Hash digest
SHA256 cc791fd1dc07d261a4407a641b9a515b2609e55234c495fb86e87e69a75eb630
MD5 3feba0e7274ec7521ece25ec4ae6d1eb
BLAKE2b-256 91de2f2fc6d2c08fa9df86dbc803e2f9c84694d91b9486c0bb674181436b9a8d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page