[Checkins] SVN: z3c.recipe.staticlxml/trunk/ Documentation update
Stefan Eletzhofer
stefan.eletzhofer at inquant.de
Thu Nov 27 10:45:49 EST 2008
Log message for revision 93405:
Documentation update
Changed:
U z3c.recipe.staticlxml/trunk/CHANGES.txt
U z3c.recipe.staticlxml/trunk/buildout.cfg
A z3c.recipe.staticlxml/trunk/example.cfg
U z3c.recipe.staticlxml/trunk/setup.py
U z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt
-=-
Modified: z3c.recipe.staticlxml/trunk/CHANGES.txt
===================================================================
--- z3c.recipe.staticlxml/trunk/CHANGES.txt 2008-11-27 15:29:56 UTC (rev 93404)
+++ z3c.recipe.staticlxml/trunk/CHANGES.txt 2008-11-27 15:45:49 UTC (rev 93405)
@@ -1,7 +1,8 @@
trunk
=====
-- no changes yet
+- Fix Documentation REsT [seletz]
+- Rerelease due to setup.cfg messup [seletz]
0.1 (2008-11-27)
================
Modified: z3c.recipe.staticlxml/trunk/buildout.cfg
===================================================================
--- z3c.recipe.staticlxml/trunk/buildout.cfg 2008-11-27 15:29:56 UTC (rev 93404)
+++ z3c.recipe.staticlxml/trunk/buildout.cfg 2008-11-27 15:45:49 UTC (rev 93405)
@@ -1,30 +1,8 @@
[buildout]
-parts =
- lxml
- pylxml
develop = .
+parts = test
-log-level = DEBUG
+[test]
+recipe = zc.recipe.testrunner
+eggs = z3c.recipe.staticlxml
-download-directory = downloads
-download-cache = downloads
-
-versions=versions
-
-[versions]
-lxml = 2.1.3
-
-
-[pylxml]
-recipe=zc.recipe.egg
-interpreter=pylxml
-eggs=
- lxml
-
-[lxml]
-recipe = z3c.recipe.staticlxml
-egg = lxml
-force = false
-build-libxml2 = true
-build-libxslt = true
-static-build = true
Added: z3c.recipe.staticlxml/trunk/example.cfg
===================================================================
--- z3c.recipe.staticlxml/trunk/example.cfg (rev 0)
+++ z3c.recipe.staticlxml/trunk/example.cfg 2008-11-27 15:45:49 UTC (rev 93405)
@@ -0,0 +1,30 @@
+[buildout]
+parts =
+ lxml
+ pylxml
+develop = .
+
+log-level = DEBUG
+
+download-directory = downloads
+download-cache = downloads
+
+versions=versions
+
+[versions]
+lxml = 2.1.3
+
+
+[pylxml]
+recipe=zc.recipe.egg
+interpreter=pylxml
+eggs=
+ lxml
+
+[lxml]
+recipe = z3c.recipe.staticlxml
+egg = lxml
+force = false
+build-libxml2 = true
+build-libxslt = true
+static-build = true
Modified: z3c.recipe.staticlxml/trunk/setup.py
===================================================================
--- z3c.recipe.staticlxml/trunk/setup.py 2008-11-27 15:29:56 UTC (rev 93404)
+++ z3c.recipe.staticlxml/trunk/setup.py 2008-11-27 15:45:49 UTC (rev 93405)
@@ -34,7 +34,7 @@
entry_point = 'z3c.recipe.staticlxml:Recipe'
entry_points = {"zc.buildout": ["default = %s" % entry_point]}
-tests_require=['zope.testing', 'zc.buildout']
+tests_require=['zope.testing', 'zc.buildout', 'zc.recipe.egg', 'zc.recipe.cmmi']
setup(name='z3c.recipe.staticlxml',
version=version,
Modified: z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt
===================================================================
--- z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt 2008-11-27 15:29:56 UTC (rev 93404)
+++ z3c.recipe.staticlxml/trunk/src/z3c/recipe/staticlxml/README.txt 2008-11-27 15:45:49 UTC (rev 93405)
@@ -3,66 +3,75 @@
The recipe supports the following options:
-egg
+**egg**
Set to the desired lxml egg, e.g. ``lxml`` or ``lxml==2.1.2``
-libxslt-url, libxml2-url
+**libxslt-url, libxml2-url**
The URL to download the source tarball of these libraries from. Currently
defaults to::
http://dist.repoze.org/lemonade/dev/cmmi/libxslt-1.1.24.tar.gz
http://dist.repoze.org/lemonade/dev/cmmi/libxml2-2.6.32.tar.gz
-build-libxslt, build-libxml2
+**build-libxslt, build-libxml2**
Set to ``true`` if these should be build. Needed for a static build.
-static-build
- ``true``or ``false``
+**static-build**
+ ``true`` or ``false``
-xml2-loction
+**xml2-loction**
Needed if ``libxml2`` is not built.
-xslt-loction
- Needed if ``libxml2`` is not built.
+**xslt-loction**
+ Needed if ``libxslt`` is not built.
-xslt-config
+**xslt-config**
Path to the ``xslt-config`` binary. Not needed if ``build-libxslt`` is
set to true.
-xml2-config
+**xml2-config**
Path to the ``xml2-config`` binary. Not needed if ``build-libxml2`` is
set to true.
-force
+**force**
Set to ``true`` to force rebuilding libraries every time.
Example usage
=============
-We'll start by creating a buildout that uses the recipe::
+This is an example buildout::
- >>> xsltconfig = "foo"
- >>> xml2config = "bar"
- >>> write('buildout.cfg',
- ... """
- ... [buildout]
- ... parts = test1
- ... log-level = INFO
- ... index = http://dist.repoze.org/lemonade/dev/simple
- ...
- ... [test1]
- ... recipe = z3c.recipe.staticlxml
- ... xslt-config = %(xsltconfig)s
- ... xml2-config = %(xml2config)s
- ... """ % locals())
+ [buildout]
+ parts =
+ lxml
+ pylxml
+ develop = .
-Running the buildout gives us::
+ log-level = DEBUG
- >>> system(buildout)
- Installing test1.
- xslt-config: foo
- xml2-config: bar
- <BLANKLINE>
+ download-directory = downloads
+ download-cache = downloads
+ versions=versions
+ [versions]
+ lxml = 2.1.3
+
+
+ [pylxml]
+ recipe=zc.recipe.egg
+ interpreter=pylxml
+ eggs=
+ lxml
+
+ [lxml]
+ recipe = z3c.recipe.staticlxml
+ egg = lxml
+ force = false
+ build-libxml2 = true
+ build-libxslt = true
+ static-build = true
+
+
+
More information about the Checkins
mailing list