comparison setup.py @ 213:25f84dd9f159

* Refactoring of build recipes, the file format has changed slightly: * The namespace URIs of recipe command collections are now abstract, implementations are registered using setuptools entry points. * Commands for report generation are no longer nested in a `<reports>` sub-element, but are at the same level as normal commands. * Fixed linking to files from the test results and code coverage summarizers. * Windows file separators are normalized to a forward slash by recipe commands (thereby also fixing linking to the repository browser from report summaries). * Paths using backslashes as file separators are now recognized in build logs in the web interface, and linked to the repository browser. * The `generator` column in the build log and report tables now has the qualified name of the recipe command that generated the log messages or report data. * There's a database upgrade script to fix file separator normalization and generator values for existing reports and build logs.
author cmlenz
date Tue, 20 Sep 2005 22:16:41 +0000
parents 0781987c586a
children 832e64330c31
comparison
equal deleted inserted replaced
212:62b668fc713d 213:25f84dd9f159
11 from setuptools import setup, find_packages 11 from setuptools import setup, find_packages
12 12
13 from bitten import __version__ as VERSION 13 from bitten import __version__ as VERSION
14 from bitten.util.testrunner import unittest 14 from bitten.util.testrunner import unittest
15 15
16 NS = 'http://bitten.cmlenz.net/tools/'
17
16 setup( 18 setup(
17 name='Bitten', version=VERSION, author='Christopher Lenz', 19 name='Bitten', version=VERSION, author='Christopher Lenz',
18 author_email='cmlenz@gmx.de', url='http://bitten.cmlenz.net/', 20 author_email='cmlenz@gmx.de', url='http://bitten.cmlenz.net/',
19 description='Framework for collecting software metrics via continuous ' 21 description='Framework for collecting software metrics via continuous '
20 'integration', 22 'integration',
24 'bitten.trac_ext': ['htdocs/*.*', 26 'bitten.trac_ext': ['htdocs/*.*',
25 'htdocs/charts_library/*.swf', 27 'htdocs/charts_library/*.swf',
26 'templates/*.cs'] 28 'templates/*.cs']
27 }, 29 },
28 entry_points = { 30 entry_points = {
29 'console_scripts': ['bitten-master = bitten.master:main', 31 'console_scripts': [
30 'bitten-slave = bitten.slave:main'], 32 'bitten-master = bitten.master:main',
31 'distutils.commands': ['unittest = bitten.util.testrunner:unittest'], 33 'bitten-slave = bitten.slave:main'
32 'trac.plugins': ['bitten.main = bitten.trac_ext.main', 34 ],
33 'bitten.web_ui = bitten.trac_ext.web_ui', 35 'distutils.commands': [
34 'bitten.summarizers = bitten.trac_ext.summarizers', 36 'unittest = bitten.util.testrunner:unittest'
35 'bitten.charts = bitten.trac_ext.charts'] 37 ],
38 'trac.plugins': [
39 'bitten.main = bitten.trac_ext.main',
40 'bitten.web_ui = bitten.trac_ext.web_ui',
41 'bitten.summarizers = bitten.trac_ext.summarizers',
42 'bitten.charts = bitten.trac_ext.charts'
43 ],
44 'bitten.recipe_commands': [
45 NS + 'sh#exec = bitten.build.shtools:exec_',
46 NS + 'sh#pipe = bitten.build.shtools:pipe',
47 NS + 'c#make = bitten.build.ctools:make',
48 NS + 'python#distutils = bitten.build.pythontools:distutils',
49 NS + 'python#exec = bitten.build.pythontools:exec_',
50 NS + 'python#pylint = bitten.build.pythontools:pylint',
51 NS + 'python#trace = bitten.build.pythontools:trace',
52 NS + 'python#unittest = bitten.build.pythontools:unittest'
53 ]
36 }, 54 },
37 test_suite='bitten.tests.suite', zip_safe=True 55 test_suite='bitten.tests.suite', zip_safe=True
38 ) 56 )
Copyright (C) 2012-2017 Edgewall Software