annotate setup.py @ 60:055a6c666fa8

* Pass a {{{Context}}} object to recipe commands as the first argument. Currently this only has the basedir, but will be extended to also provide output recording etc. * Fixes and cleanup to the recipe functions. * The build master now checks for failed build steps and sets the status of the build to ''failure'' if any step failed. * The test runner distutils command now also records output to stderr and stdout by the tests. * Upped version number to [milestone:0.2 0.2].
author cmlenz
date Mon, 27 Jun 2005 21:50:58 +0000
parents ab569c55c835
children 234600bf0d49
rev   line source
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
1 #!/usr/bin/env python
5
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
2 # -*- coding: iso8859-1 -*-
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
3 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
4 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de>
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
5 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
6 # Bitten is free software; you can redistribute it and/or
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
7 # modify it under the terms of the GNU General Public License as
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
8 # published by the Free Software Foundation; either version 2 of the
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
9 # License, or (at your option) any later version.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
10 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
11 # Trac is distributed in the hope that it will be useful,
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
14 # General Public License for more details.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
15 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
16 # You should have received a copy of the GNU General Public License
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
17 # along with this program; if not, write to the Free Software
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
19 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
20 # Author: Christopher Lenz <cmlenz@gmx.de>
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
21
6
9b57159428b0 Fix package list in {{{setup.py}}}.
cmlenz
parents: 5
diff changeset
22 from distutils.core import setup
9b57159428b0 Fix package list in {{{setup.py}}}.
cmlenz
parents: 5
diff changeset
23
19
9db5f8eddb0d Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents: 17
diff changeset
24 from bitten import __version__ as VERSION
22
e67713b7936f Moved test runner into {{{bitten.util}}}} package.
cmlenz
parents: 21
diff changeset
25 from bitten.util.testrunner import unittest
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
26
19
9db5f8eddb0d Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents: 17
diff changeset
27 setup(name='bitten', version=VERSION,
44
ab569c55c835 Remove obsolete package from setup.py.
cmlenz
parents: 36
diff changeset
28 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'],
31
0b82d012e42c Add thin script shells around master and slave.
cmlenz
parents: 26
diff changeset
29 scripts=['scripts/bitten', 'scripts/bittend'],
3
9ac0ee86ec7c Some cleanup to the recipe commands and reporters.
cmlenz
parents: 2
diff changeset
30 author="Christopher Lenz", author_email="cmlenz@gmx.de",
7
8442bcb47a03 Initial draft of a minimal [http://www.beepcore.org/ BEEP] protocol implementation for communication between the build master and build slaves.
cmlenz
parents: 6
diff changeset
31 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software