Source

alerta / log4client / buildout.cfg

Full commit
[buildout]
develop = .
parts = log4tail
    mox
    unittest
    smoke
    pylint
    coverage
    pytest
relative-paths = true
install-from-cache = true

[log4tail]
recipe = zc.recipe.egg:scripts
eggs = log4tailer

[mox]
recipe = zc.recipe.egg
eggs = mox
find-links = http://code.google.com/p/pymox/downloads/list

[coverage]
recipe = zc.recipe.egg:scripts
eggs = coverage

[pytest]
recipe = zc.recipe.egg:scripts
# Note:
# py.test with parallel xdist does not seem to work under
# buildout. It needs to be executed from a virtualenv not through this
# automatically generated script. py.test without parallel option
# works fine though.
eggs = pytest
    pytest-xdist
    mox
    mocker
    nose
    paramiko
scripts = py.test
extra-paths = src

[unittest]
recipe = pbp.recipe.noserunner
eggs = pbp.recipe.noserunner
    mocker
    mock
    paramiko
    testtools
    pyhamcrest
    nose-progressive
    ${mox:eggs}
working-directory = ${buildout:develop}/tests
script = unittests

[smoke]
recipe = pbp.recipe.noserunner
eggs = pbp.recipe.noserunner
    mocker
    paramiko
    testtools
    pyhamcrest
    nose-progressive
    ${mox:eggs}
working-directory = ${buildout:develop}
script = smoke

[pylint]
recipe = zc.recipe.egg
eggs = pylint
entry-points = pylint=pylint.lint:Run
extra-paths = src
arguments = sys.argv[1:]+[
        '--rcfile=pylintrc',
        '${buildout:directory}/src/log4tailer']