4 from distutils
.core
import setup
5 from buildbot
import version
7 # Path: twisted!cvstoys!buildbot
8 from distutils
.command
.install_data
import install_data
9 class install_data_twisted(install_data
):
10 """make sure data files are installed in package.
12 copied from Twisted/setup.py.
14 def finalize_options(self
):
15 self
.set_undefined_options('install',
16 ('install_lib', 'install_dir')
18 install_data
.finalize_options(self
)
21 The BuildBot is a system to automate the compile/test cycle required by
22 most software projects to validate code changes. By automatically
23 rebuilding and testing the tree each time something has changed, build
24 problems are pinpointed quickly, before other developers are
25 inconvenienced by the failure. The guilty developer can be identified
26 and harassed without human intervention. By running the builds on a
27 variety of platforms, developers who do not have the facilities to test
28 their changes everywhere before checkin will at least know shortly
29 afterwards whether they have broken the build or not. Warning counts,
30 lint checks, image size, compile time, and other build parameters can
31 be tracked over time, are more visible, and are therefore easier to
35 scripts
= ["bin/buildbot"]
36 if sys
.platform
== "win32":
37 scripts
.append("contrib/windows/buildbot.bat")
38 scripts
.append("contrib/windows/buildbot_service.py")
41 for f
in os
.listdir("buildbot/test/mail"):
44 if re
.search(r
'\.\d+$', f
):
45 testmsgs
.append("buildbot/test/mail/%s" % f
)
50 'description': "BuildBot build automation system",
51 'long_description': long_description
,
52 'author': "Brian Warner",
53 'author_email': "warner-buildbot@lothar.com",
54 'url': "http://buildbot.net/",
56 # does this classifiers= mean that this can't be installed on 2.2/2.3?
58 'Development Status :: 4 - Beta',
59 'Environment :: No Input/Output (Daemon)',
60 'Environment :: Web Environment',
61 'Intended Audience :: Developers',
62 'License :: OSI Approved :: GNU General Public License (GPL)',
63 'Topic :: Software Development :: Build Tools',
64 'Topic :: Software Development :: Testing',
67 'packages': ["buildbot",
68 "buildbot.status", "buildbot.status.web",
77 'data_files': [("buildbot", ["buildbot/buildbot.png"]),
78 ("buildbot/clients", ["buildbot/clients/debug.glade"]),
79 ("buildbot/status/web",
80 ["buildbot/status/web/classic.css",
81 "buildbot/status/web/index.html",
82 "buildbot/status/web/robots.txt",
84 ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
85 ("buildbot/test/mail", testmsgs
),
86 ("buildbot/test/subdir", ["buildbot/test/subdir/emit.py"]),
89 'cmdclass': {'install_data': install_data_twisted
},
93 # If setuptools is installed, then we'll add setuptools-specific arguments
99 setup_args
['install_requires'] = ['twisted >= 2.4.0']
102 'buildbot = buildbot.scripts.runner:run'