buildout.cfg
changeset 13 ccb2abb60b46
parent 10 00dec67cd49e
--- a/buildout.cfg	Wed Nov 27 19:37:28 2019 +0100
+++ b/buildout.cfg	Wed Nov 27 19:39:45 2019 +0100
@@ -1,48 +1,32 @@
 [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/eggs
-
 socket-timeout = 3
-show-picked-versions = true
-newest = false
-
-allow-hosts =
-    bitbucket.org
-    *.python.org
-    *.sourceforge.net
-    github.com
 
 versions = versions
+show-picked-versions = true
+allow-picked-versions = false
 newest = false
-#allow-picked-versions = false
 
 src = src
 develop =
     .
+    ../ext/lingua
     ../pyams_template
     ../pyams_utils
-    ../ext/lingua
+    ../pyams_viewlet
 
 parts =
     package
     i18n
     pyflakes
+    pylint
     test
 
 [package]
 recipe = zc.recipe.egg
-eggs =
-    pyams_pagelet
-    pyams_template
-    pyams_utils
-    pyramid
-    pyramid_zcml
-    zope.component
-    zope.configuration
-    zope.contentprovider
-    zope.interface
-    zope.schema
+eggs = pyams_pagelet
 
 [i18n]
 recipe = zc.recipe.egg
@@ -62,9 +46,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_pagelet [test]
 
 [versions]
-pyams_pagelet = 0.1.2
+pyams_pagelet = 0.1.3