Mercurial > bitten > bitten-test
annotate setup.py @ 72:b2d371dac270
Allow individual steps of a recipe to be marked as optional, i.e. that an error in such a step should not mean that the build failed.
author | cmlenz |
---|---|
date | Fri, 01 Jul 2005 11:09:12 +0000 |
parents | 234600bf0d49 |
children | 001f77d05cdc |
rev | line source |
---|---|
4 | 1 #!/usr/bin/env python |
5 | 2 # -*- coding: iso8859-1 -*- |
3 # | |
4 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> | |
5 # | |
6 # Bitten is free software; you can redistribute it and/or | |
7 # modify it under the terms of the GNU General Public License as | |
8 # published by the Free Software Foundation; either version 2 of the | |
9 # License, or (at your option) any later version. | |
10 # | |
11 # Trac is distributed in the hope that it will be useful, | |
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU General Public License | |
17 # along with this program; if not, write to the Free Software | |
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | |
19 # | |
20 # Author: Christopher Lenz <cmlenz@gmx.de> | |
4 | 21 |
6 | 22 from distutils.core import setup |
68 | 23 from distutils import util |
6 | 24 |
19
9db5f8eddb0d
Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents:
17
diff
changeset
|
25 from bitten import __version__ as VERSION |
22 | 26 from bitten.util.testrunner import unittest |
0 | 27 |
68 | 28 scripts = ['scripts/bitten', 'scripts/bittend'] |
29 if util.get_platform()[:3] == 'win': | |
30 scripts = [script + '.bat' for script in scripts] | |
31 | |
19
9db5f8eddb0d
Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents:
17
diff
changeset
|
32 setup(name='bitten', version=VERSION, |
44 | 33 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'], |
68 | 34 scripts=scripts, 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
|
35 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest}) |