buildout.cfg
changeset 206 0e48f5a82d32
parent 200 36542eceb7c4
child 210 821b37b156ac
child 212 724e87e15ade
--- a/buildout.cfg	Wed Dec 04 11:05:52 2019 +0100
+++ b/buildout.cfg	Wed Dec 04 11:09:29 2019 +0100
@@ -1,21 +1,13 @@
 [buildout]
-eggs-directory = /var/local/env/pyams/eggs
+eggs-directory = eggs
 extends = http://download.ztfy.org/pyams/pyams-dev.cfg
 find-links = http://download.ztfy.org/pyams
-
 socket-timeout = 3
-show-picked-versions = true
-newest = false
-
-allow-hosts =
-    bitbucket.org
-    *.python.org
-    *.sourceforge.net
-    github.com
 
 versions = versions
+allow-picked-versions = false
+show-picked-version = true
 newest = false
-#allow-picked-versions = false
 
 src = src
 develop =
@@ -34,17 +26,12 @@
     package
     i18n
     pyflakes
+    pylint
     test
 
 [package]
 recipe = zc.recipe.egg
-eggs =
-    pyams_form
-    pyams_skin
-    pyramid
-    z3c.form
-    zope.component
-    zope.interface
+eggs = pyams_form
 
 [i18n]
 recipe = zc.recipe.egg
@@ -64,9 +51,17 @@
 on_install = true
 cmds = ${buildout:develop}/bin/${pyflakes:scripts}
 
+[pylint]
+recipe = zc.recipe.egg
+eggs =
+    ${package:eggs}
+    pylint
+entry-points = pylint=pylint.lint:Run
+arguments = sys.argv[1:]
+
 [test]
 recipe = zc.recipe.testrunner
 eggs = pyams_form [test]
 
 [versions]
-pyams_form = 0.1.26.1
+pyams_form = 0.1.27