Skip to content

Commit

Permalink
Chapter 3 files
Browse files Browse the repository at this point in the history
  • Loading branch information
optilude committed Feb 13, 2011
1 parent 3071153 commit 3a0b3d5
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 23 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
bin
build
develop-eggs
coverage
downloads
eggs
fake-eggs
parts
dist
.installed.cfg
.mr.developer.cfg
var
.hg
.bzr
.svn
Expand Down
37 changes: 28 additions & 9 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
##############################################################################
# Development environment buildout
##############################################################################
# ================================

[buildout]
parts =
Expand All @@ -9,11 +8,16 @@ parts =
coverage-report
omelette
zopepy
zopeskel
checkversions
mkrelease

extends =
packages.cfg

# Packages to check out/update when buildout is run
auto-checkout =

# Make sure buildout always attempts to update packages
always-checkout = force

Expand All @@ -27,36 +31,51 @@ eggs =
${eggs:main}
${eggs:devtools}

# Test runner. Installs the ``bin/test`` script
# Test runner. Run: ``bin/test`` to execute all tests
[test]
recipe = zc.recipe.testrunner
eggs = ${eggs:test}
defaults = ['--exit-with-status', '--auto-color', '--auto-progress']
defaults = ['--auto-color', '--auto-progress']

# Coverage report generator. Run ``bin/test --coverage=coverage`` and then ``bin/coveragereport``
# Coverage report generator.
# Run: ``bin/test --coverage=coverage``
# and then: ``bin/coveragereport``
[coverage-report]
recipe = zc.recipe.egg
eggs = z3c.coverage
scripts = coveragereport
arguments = ('parts/test/coverage', 'coverage')

# Installs symbolic links for all installed packages to parts/omelette.
# On Windows, you need to install junction.exe first if you want to use this.
# Installs links to all installed packages to ``parts/omelette``.
# On Windows, you need to install junction.exe first
[omelette]
recipe = collective.recipe.omelette
eggs =
${eggs:main}
${eggs:devtools}

# Interpreter. Installs the ``bin/zopepy`` script.
# Installs the ``bin/zopepy`` interpreter.
[zopepy]
recipe = zc.recipe.egg
eggs =
${eggs:main}
${eggs:devtools}
interpreter = zopepy

# Tool to help check for new versions. Run ``bin/checkversions versions.cfg``
# Installs ZopeSkel, which can be used to create new packages
# Run: ``bin/zopeskel``
[zopeskel]
recipe = zc.recipe.egg
eggs = ZopeSkel

# Tool to help check for new versions.
# Run: ``bin/checkversions versions.cfg``
[checkversions]
recipe = zc.recipe.egg
eggs = z3c.checkversions [buildout]

# Tool to make releases
# Run: ``bin/mkrelease --help``
[mkrelease]
recipe = zc.recipe.egg
eggs = jarn.mkrelease
12 changes: 4 additions & 8 deletions packages.cfg
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
##############################################################################
# Information about packages and known good version sets we are using
##############################################################################
# Information about packages and known good version sets
# ======================================================

[buildout]
extensions = mr.developer buildout.dumppickedversions
extends =
# Known good sets of eggs we may be using
http://dist.plone.org/release/4.0b5/versions.cfg
http://dist.plone.org/release/4.1a2/versions.cfg
versions.cfg

# Packages to check out/update when buildout is run
auto-checkout =

versions = versions
unzip = true

# Egg sets
[eggs]
main =
Plone
test =
devtools =
bpython
plone.reload
stxnext.pdb
Products.PDBDebugMode
Products.PrintingMailHost
Products.DocFinderTab
Expand Down
22 changes: 16 additions & 6 deletions versions.cfg
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
##############################################################################
# Project-specific version pins
##############################################################################
# =============================

[versions]
# Buildout
mr.developer = 1.15
collective.recipe.omelette = 0.9

# Development tools
bpython = 0.9.7.1
Pygments = 1.3.1
pygments = 1.3.1
Products.DocFinderTab = 1.0.4
Products.PDBDebugMode = 1.1
Products.PrintingMailHost = 0.7
collective.recipe.omelette = 0.9
stxnext.pdb = 0.2.1
stxnext.log = 0.2.0
z3c.coverage = 1.2.0
jarn.mkrelease = 3.0.8
setuptools-git = 0.3.4
setuptools-hg = 0.2

# ZopeSkel
ZopeSkel = 2.17
Cheetah = 2.2.1
Paste = 1.7.4
PasteScript = 1.7.3
PasteDeploy = 1.3.3

0 comments on commit 3a0b3d5

Please sign in to comment.