cmlenz@4: #!/usr/bin/env python cmlenz@379: # -*- coding: utf-8 -*- cmlenz@5: # cmlenz@408: # Copyright (C) 2007 Edgewall Software cmlenz@408: # Copyright (C) 2005-2007 Christopher Lenz cmlenz@163: # All rights reserved. cmlenz@5: # cmlenz@163: # This software is licensed as described in the file COPYING, which cmlenz@163: # you should have received as part of this distribution. The terms cmlenz@408: # are also available at http://bitten.edgewall.org/wiki/License. cmlenz@4: cmlenz@99: from setuptools import setup, find_packages cmlenz@6: cmlenz@22: from bitten.util.testrunner import unittest cmlenz@0: cmlenz@213: NS = 'http://bitten.cmlenz.net/tools/' cmlenz@213: cmlenz@205: setup( cmlenz@408: name = 'Bitten', cmlenz@408: version = '0.6', cmlenz@408: description = 'Continuous integration for Trac', cmlenz@408: long_description = \ cmlenz@408: """A Trac plugin for collecting software metrics via continuous integration.""", cmlenz@408: author = 'Edgewall Software', cmlenz@408: author_email = 'info@edgewall.org', cmlenz@408: license = 'BSD', cmlenz@408: url = 'http://bitten.edgewall.org/', cmlenz@408: download_url = 'http://bitten.edgewall.org/wiki/Download', cmlenz@408: zip_safe = False, cmlenz@408: cmlenz@320: packages=find_packages(exclude=['*.tests*']), cmlenz@205: package_data={ cmlenz@205: 'bitten.trac_ext': ['htdocs/*.*', cmlenz@205: 'htdocs/charts_library/*.swf', cmlenz@205: 'templates/*.cs'] cmlenz@205: }, cmlenz@408: test_suite='bitten.tests.suite', cmlenz@205: entry_points = { cmlenz@213: 'console_scripts': [ cmlenz@213: 'bitten-slave = bitten.slave:main' cmlenz@213: ], cmlenz@213: 'distutils.commands': [ cmlenz@213: 'unittest = bitten.util.testrunner:unittest' cmlenz@213: ], cmlenz@213: 'trac.plugins': [ cmlenz@213: 'bitten.main = bitten.trac_ext.main', cmlenz@392: 'bitten.master = bitten.master', cmlenz@213: 'bitten.web_ui = bitten.trac_ext.web_ui', cmlenz@409: 'bitten.testing = bitten.report.testing', cmlenz@409: 'bitten.coverage = bitten.report.coverage' cmlenz@213: ], cmlenz@213: 'bitten.recipe_commands': [ cmlenz@213: NS + 'sh#exec = bitten.build.shtools:exec_', cmlenz@213: NS + 'sh#pipe = bitten.build.shtools:pipe', cmlenz@238: NS + 'c#configure = bitten.build.ctools:configure', cmlenz@270: NS + 'c#cppunit = bitten.build.ctools:cppunit', cmlenz@302: NS + 'c#gcov = bitten.build.ctools:gcov', cmlenz@213: NS + 'c#make = bitten.build.ctools:make', cmlenz@240: NS + 'java#ant = bitten.build.javatools:ant', cmlenz@252: NS + 'java#junit = bitten.build.javatools:junit', mgood@354: NS + 'java#cobertura = bitten.build.javatools:cobertura', cmlenz@213: NS + 'python#distutils = bitten.build.pythontools:distutils', cmlenz@213: NS + 'python#exec = bitten.build.pythontools:exec_', cmlenz@213: NS + 'python#pylint = bitten.build.pythontools:pylint', cmlenz@213: NS + 'python#trace = bitten.build.pythontools:trace', cmlenz@243: NS + 'python#unittest = bitten.build.pythontools:unittest', cmlenz@392: NS + 'svn#checkout = bitten.build.svntools:checkout', cmlenz@392: NS + 'svn#export = bitten.build.svntools:export', cmlenz@392: NS + 'svn#update = bitten.build.svntools:update', cmlenz@244: NS + 'xml#transform = bitten.build.xmltools:transform' cmlenz@213: ] cmlenz@205: }, cmlenz@408: cmlenz@365: cmdclass = {'unittest': unittest} cmlenz@205: )