dfraser@511: #!/usr/bin/env python dfraser@511: # -*- coding: utf-8 -*- dfraser@511: # dfraser@511: # Copyright (C) 2007 Edgewall Software dfraser@511: # Copyright (C) 2005-2007 Christopher Lenz dfraser@511: # Copyright (C) 2005-2007 David Fraser dfraser@511: # All rights reserved. dfraser@511: # dfraser@511: # This software is licensed as described in the file COPYING, which dfraser@511: # you should have received as part of this distribution. The terms dfraser@511: # are also available at http://bitten.edgewall.org/wiki/License. dfraser@511: osimons@598: from setuptools import setup as setup_slave dfraser@511: from setuptools.command import egg_info dfraser@511: osimons@598: from setup import recipe_commands, shared_args dfraser@511: dfraser@511: # TODO: there must be a way to pass this altered value in... dfraser@511: egg_info.manifest_maker.template = "MANIFEST-SLAVE.in" dfraser@511: osimons@598: if __name__ == '__main__': osimons@598: setup_slave( osimons@598: name = 'Bitten-Slave', osimons@598: description = 'Continuous integration build slave for Trac', osimons@598: long_description = \ osimons@598: """A slave for running builds and submitting them to Bitten, the continuous integration system for Trac""", dfraser@511: osimons@598: py_modules = ["bitten.__init__", osimons@598: "bitten.build.__init__", osimons@598: "bitten.build.api", osimons@598: "bitten.build.config", osimons@598: "bitten.build.ctools", osimons@598: "bitten.build.hgtools", osimons@598: "bitten.build.javatools", osimons@598: "bitten.build.monotools", osimons@598: "bitten.build.phptools", osimons@598: "bitten.build.pythontools", osimons@598: "bitten.build.shtools", osimons@598: "bitten.build.svntools", dfraser@617: "bitten.build.tests.__init__", dfraser@617: "bitten.build.tests.api", dfraser@617: "bitten.build.tests.config", dfraser@617: "bitten.build.tests.ctools", dfraser@617: "bitten.build.tests.dummy", dfraser@617: "bitten.build.tests.hgtools", dfraser@617: "bitten.build.tests.javatools", dfraser@617: "bitten.build.tests.monotools", dfraser@617: "bitten.build.tests.phptools", dfraser@617: "bitten.build.tests.pythontools", dfraser@617: "bitten.build.tests.xmltools", osimons@598: "bitten.build.xmltools", osimons@598: "bitten.recipe", osimons@598: "bitten.slave", dfraser@617: "bitten.slave_tests.__init__", dfraser@617: "bitten.slave_tests.recipe", dfraser@617: "bitten.slave_tests.slave", osimons@598: "bitten.util.__init__", dfraser@617: "bitten.util.loc", osimons@598: "bitten.util.testrunner", osimons@598: "bitten.util.xmlio", osimons@598: ], dfraser@617: test_suite = 'bitten.slave_tests.suite', dfraser@617: tests_require = [ dfraser@617: 'figleaf', dfraser@617: ], osimons@598: entry_points = { osimons@598: 'console_scripts': [ dfraser@617: 'bitten-slave = bitten.slave:main', dfraser@617: ], dfraser@617: 'distutils.commands': [ dfraser@617: 'unittest = bitten.util.testrunner:unittest', osimons@598: ], osimons@598: 'bitten.recipe_commands': recipe_commands osimons@598: }, osimons@598: osimons@598: **shared_args osimons@598: )