Mercurial > bitten > bitten-test
view setup.py @ 375:79262e20b073
Protect the main beep loop from exceptions-- either problems in callbacks or errors in the asyncore handlers, which can stop the scheduled events from getting run. Also move over to using the asyncore.loop function over the poll function-- using poll as we were seeing use_poll=False (the default) hang forever, making scheduled events not get run.
author | wbell |
---|---|
date | Mon, 23 Jul 2007 22:03:07 +0000 |
parents | 01b5a269d940 |
children | 0df178e07fdb |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: iso8859-1 -*- # # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://bitten.cmlenz.net/wiki/License. from setuptools import setup, find_packages from bitten import __version__ as VERSION from bitten.util.testrunner import unittest NS = 'http://bitten.cmlenz.net/tools/' setup( name='Bitten', version=VERSION, author='Christopher Lenz', author_email='cmlenz@gmx.de', url='http://bitten.cmlenz.net/', description='Framework for collecting software metrics via continuous ' 'integration', license='BSD', packages=find_packages(exclude=['*.tests*']), package_data={ 'bitten.trac_ext': ['htdocs/*.*', 'htdocs/charts_library/*.swf', 'templates/*.cs'] }, entry_points = { 'console_scripts': [ 'bitten-master = bitten.master:main', 'bitten-slave = bitten.slave:main' ], 'distutils.commands': [ 'unittest = bitten.util.testrunner:unittest' ], 'trac.plugins': [ 'bitten.main = bitten.trac_ext.main', 'bitten.web_ui = bitten.trac_ext.web_ui', 'bitten.summarizers = bitten.trac_ext.summarizers', 'bitten.charts = bitten.trac_ext.charts' ], 'bitten.recipe_commands': [ NS + 'sh#exec = bitten.build.shtools:exec_', NS + 'sh#pipe = bitten.build.shtools:pipe', NS + 'c#configure = bitten.build.ctools:configure', NS + 'c#cppunit = bitten.build.ctools:cppunit', NS + 'c#gcov = bitten.build.ctools:gcov', NS + 'c#make = bitten.build.ctools:make', NS + 'java#ant = bitten.build.javatools:ant', NS + 'java#junit = bitten.build.javatools:junit', NS + 'java#cobertura = bitten.build.javatools:cobertura', NS + 'python#distutils = bitten.build.pythontools:distutils', NS + 'python#exec = bitten.build.pythontools:exec_', NS + 'python#pylint = bitten.build.pythontools:pylint', NS + 'python#trace = bitten.build.pythontools:trace', NS + 'python#unittest = bitten.build.pythontools:unittest', NS + 'xml#transform = bitten.build.xmltools:transform' ] }, test_suite='bitten.tests.suite', zip_safe=True, cmdclass = {'unittest': unittest} )