buildout.cfg
branchZTK-1.1
changeset 149 738abc5935c9
parent 146 d3083b645607
child 156 576f6b3c913a
--- a/buildout.cfg	Wed Jun 20 16:29:53 2012 +0200
+++ b/buildout.cfg	Wed Jun 20 16:31:02 2012 +0200
@@ -6,7 +6,7 @@
 newest = false
 allow-picked-versions = false
 develop = .
-parts = package i18n test
+parts = package i18n pyflakes pyflakesrun test
 
 [package]
 recipe = zc.recipe.egg
@@ -18,12 +18,24 @@
        z3c.recipe.i18n
 packages = ztfy.utils
 domain = ztfy.utils
-output = ztfy/utils/locales
+output = src/ztfy/utils/locales
 zcml = <include file="configure.zcml" />
 
+[pyflakes]
+recipe = zc.recipe.egg
+eggs = pyflakes
+scripts = pyflakes
+entry-points = pyflakes=pyflakes.scripts.pyflakes:main
+initialization = if not sys.argv[1:]: sys.argv[1:] = ["${buildout:develop}/src"]
+
+[pyflakesrun]
+recipe = collective.recipe.cmd
+on_install = true
+cmds = ${buildout:develop}/bin/${pyflakes:scripts}
+
 [test]
 recipe = zc.recipe.testrunner
 eggs = ztfy.utils [test]
 
 [versions]
-ztfy.utils = 0.3.11
+ztfy.utils = 0.3.12