Mercurial > bitten > bitten-test
view setup.py @ 144:76dea27af878
* Make the `<python:unittest>` command strip the base dir from file names in the report. Fixes #42.
* Yield reports in the order they were generated.
* The `testrunner` now splits the test name into `name` and `fixture` components (the former is commonly the name of the test function, while the latter is the name of the `TestCase` subclass.
* Parse descriptions of doctests to extract the test fixture.
* Add option to the `build.py` script to enable output of generated reports to the console.t
author | cmlenz |
---|---|
date | Sat, 20 Aug 2005 13:29:56 +0000 |
parents | 4289fa18de0f |
children | dd745d6b8c83 |
line wrap: on
line source
#!/usr/bin/env python # -*- coding: iso8859-1 -*- # # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> # # Bitten is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License as # published by the Free Software Foundation; either version 2 of the # License, or (at your option) any later version. # # Trac is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # # Author: Christopher Lenz <cmlenz@gmx.de> import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages from bitten import __version__ as VERSION from bitten.util.testrunner import unittest 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', packages=find_packages(exclude=['ez_setup', '*.tests*']), package_data={'bitten.trac_ext': ['templates/*.cs', 'htdocs/*.*']}, scripts=['scripts/bitten', 'scripts/bittend'], test_suite='bitten.tests.suite', zip_safe=True, cmdclass={'unittest': unittest})