mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
51480a60de
This an import of buildbot-0.7.5.tar.gz from http://downloads.sourceforge.net/buildbot/buildbot-0.7.5.tar.gz?modtime=1165787309&big_mirror=0 86b7fad95381ce5ce2e9b8c6c56c6109 buildbot-0.7.5.tar.gz ef5c884141b016472b5eaf3a2ff0657f9ef6b221 buildbot-0.7.5.tar.gz
90 lines
3.2 KiB
Python
90 lines
3.2 KiB
Python
#! /usr/bin/python
|
|
|
|
import sys, os
|
|
from distutils.core import setup
|
|
from buildbot import version
|
|
|
|
# Path: twisted!cvstoys!buildbot
|
|
from distutils.command.install_data import install_data
|
|
class install_data_twisted(install_data):
|
|
"""make sure data files are installed in package.
|
|
this is evil.
|
|
copied from Twisted/setup.py.
|
|
"""
|
|
def finalize_options(self):
|
|
self.set_undefined_options('install',
|
|
('install_lib', 'install_dir')
|
|
)
|
|
install_data.finalize_options(self)
|
|
|
|
long_description="""
|
|
The BuildBot is a system to automate the compile/test cycle required by
|
|
most software projects to validate code changes. By automatically
|
|
rebuilding and testing the tree each time something has changed, build
|
|
problems are pinpointed quickly, before other developers are
|
|
inconvenienced by the failure. The guilty developer can be identified
|
|
and harassed without human intervention. By running the builds on a
|
|
variety of platforms, developers who do not have the facilities to test
|
|
their changes everywhere before checkin will at least know shortly
|
|
afterwards whether they have broken the build or not. Warning counts,
|
|
lint checks, image size, compile time, and other build parameters can
|
|
be tracked over time, are more visible, and are therefore easier to
|
|
improve.
|
|
"""
|
|
|
|
scripts = ["bin/buildbot"]
|
|
if sys.platform == "win32":
|
|
scripts.append("contrib/windows/buildbot.bat")
|
|
scripts.append("contrib/windows/buildbot_service.py")
|
|
|
|
testmsgs = []
|
|
for f in os.listdir("buildbot/test/mail"):
|
|
if f.endswith("~"):
|
|
continue
|
|
if f.startswith("msg") or f.startswith("syncmail"):
|
|
testmsgs.append("buildbot/test/mail/%s" % f)
|
|
|
|
setup(name="buildbot",
|
|
version=version,
|
|
description="BuildBot build automation system",
|
|
long_description=long_description,
|
|
author="Brian Warner",
|
|
author_email="warner-buildbot@lothar.com",
|
|
url="http://buildbot.sourceforge.net/",
|
|
license="GNU GPL",
|
|
# does this classifiers= mean that this can't be installed on 2.2/2.3?
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Environment :: No Input/Output (Daemon)',
|
|
'Environment :: Web Environment',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License (GPL)',
|
|
'Topic :: Software Development :: Build Tools',
|
|
'Topic :: Software Development :: Testing',
|
|
],
|
|
|
|
packages=["buildbot",
|
|
"buildbot.status",
|
|
"buildbot.changes",
|
|
"buildbot.steps",
|
|
"buildbot.process",
|
|
"buildbot.clients",
|
|
"buildbot.slave",
|
|
"buildbot.scripts",
|
|
"buildbot.test",
|
|
],
|
|
data_files=[("buildbot", ["buildbot/buildbot.png"]),
|
|
("buildbot/clients", ["buildbot/clients/debug.glade"]),
|
|
("buildbot/status", ["buildbot/status/classic.css"]),
|
|
("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
|
|
("buildbot/test/mail", testmsgs),
|
|
("buildbot/test/subdir", ["buildbot/test/subdir/emit.py"]),
|
|
],
|
|
scripts = scripts,
|
|
cmdclass={'install_data': install_data_twisted},
|
|
)
|
|
|
|
# Local Variables:
|
|
# fill-column: 71
|
|
# End:
|