buildout.cfg
changeset 47 df022d00a9c4
parent 45 9be85c3709da
child 55 7aaf4e89d06f
--- a/buildout.cfg	Fri Jan 18 15:32:56 2019 +0100
+++ b/buildout.cfg	Wed Nov 27 15:57:21 2019 +0100
@@ -1,56 +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
 
-#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 =
     .
     ../ext/lingua
-    ../pyams_catalog
-    ../pyams_file
-    ../pyams_form
-    ../pyams_i18n
-    ../pyams_pagelet
-    ../pyams_skin
     ../pyams_template
     ../pyams_utils
-    ../pyams_viewlet
-    ../pyams_zmi
 
 parts =
     package
     i18n
     pyflakes
+    pylint
     test
 
 [package]
 recipe = zc.recipe.egg
-eggs =
-    chameleon
-    pyams_utils
-    pyams_viewlet
-    pyramid
-    zope.component
-    zope.configuration
-    zope.contentprovider
-    zope.interface
-    zope.location
-    zope.schema
+eggs = pyams_viewlet
+interpreter = python
 
 [i18n]
 recipe = zc.recipe.egg
@@ -70,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_viewlet [test]
 
 [versions]
-pyams_viewlet = 0.1.7
+pyams_viewlet = 0.1.8