buildout.cfg
changeset 27 fc7f98c14454
parent 23 99fb7f5fe348
--- a/buildout.cfg	Thu Nov 28 19:19:43 2019 +0100
+++ b/buildout.cfg	Thu Nov 28 19:20:15 2019 +0100
@@ -1,22 +1,14 @@
 [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
 
-#allow-picked-versions = false
+versions = versions
+allow-picked-versions = false
 show-picked-versions = true
 newest = false
 
-allow-hosts =
-    bitbucket.org
-    *.python.org
-    *.sourceforge.net
-    github.com
-
-versions = versions
-
 src = src
 develop =
     .
@@ -27,15 +19,13 @@
     package
     i18n
     pyflakes
+    pylint
     test
 
 [package]
 recipe = zc.recipe.egg
-eggs =
-    pyams_zmq
-    pyramid
-    zope.component
-    zope.interface
+eggs = pyams_zmq
+interpreter = py
 
 [i18n]
 recipe = zc.recipe.egg
@@ -55,9 +45,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_zmq [test]
 
 [versions]
-pyams_zmq = 0.1.5
+pyams_zmq = 0.1.6