view setup.py @ 287:6abd43d0cd8a

The build slave now stores snapshot archives and the corresponding work directories in project folders of the main work folder, to keep build configurations from different projects that share the same name separate. This also requires transmitting the project name (simply the name of the environment directory) with the build initiation.
author cmlenz
date Sat, 15 Oct 2005 13:39:23 +0000
parents 76bfc58fc394
children fe966b950424 0c60c69f10c3
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=['ez_setup', '*.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#make = bitten.build.ctools:make',
            NS + 'java#ant = bitten.build.javatools:ant',
            NS + 'java#junit = bitten.build.javatools:junit',
            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
)
Copyright (C) 2012-2017 Edgewall Software