Mercurial > bitten > bitten-test
annotate setup.py @ 210:c550e31c06d2
Implement providing input data to processes executed via the `CommandLine` class. The `<sh:pipe>` recipe command should now be functional. Closes #34.
Also, add unit tests for the `CommandLine` class.
author | cmlenz |
---|---|
date | Tue, 20 Sep 2005 12:02:38 +0000 |
parents | 0781987c586a |
children | 25f84dd9f159 |
rev | line source |
---|---|
4 | 1 #!/usr/bin/env python |
5 | 2 # -*- coding: iso8859-1 -*- |
3 # | |
4 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de> | |
163 | 5 # All rights reserved. |
5 | 6 # |
163 | 7 # This software is licensed as described in the file COPYING, which |
8 # you should have received as part of this distribution. The terms | |
9 # are also available at http://bitten.cmlenz.net/wiki/License. | |
4 | 10 |
99
efc1eed69ba8
Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents:
78
diff
changeset
|
11 from setuptools import setup, find_packages |
6 | 12 |
19
9db5f8eddb0d
Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents:
17
diff
changeset
|
13 from bitten import __version__ as VERSION |
22 | 14 from bitten.util.testrunner import unittest |
0 | 15 |
205
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
16 setup( |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
17 name='Bitten', version=VERSION, author='Christopher Lenz', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
18 author_email='cmlenz@gmx.de', url='http://bitten.cmlenz.net/', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
19 description='Framework for collecting software metrics via continuous ' |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
20 'integration', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
21 license='BSD', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
22 packages=find_packages(exclude=['ez_setup', '*.tests*']), |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
23 package_data={ |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
24 'bitten.trac_ext': ['htdocs/*.*', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
25 'htdocs/charts_library/*.swf', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
26 'templates/*.cs'] |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
27 }, |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
28 entry_points = { |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
29 'console_scripts': ['bitten-master = bitten.master:main', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
30 'bitten-slave = bitten.slave:main'], |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
31 'distutils.commands': ['unittest = bitten.util.testrunner:unittest'], |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
32 'trac.plugins': ['bitten.main = bitten.trac_ext.main', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
33 'bitten.web_ui = bitten.trac_ext.web_ui', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
34 'bitten.summarizers = bitten.trac_ext.summarizers', |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
35 'bitten.charts = bitten.trac_ext.charts'] |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
36 }, |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
37 test_suite='bitten.tests.suite', zip_safe=True |
0781987c586a
Make use of the entry point feature introduced in setuptools 0.6a1, and the `console_scripts` entry point introduced in 0.6a2. This also requires Trac >= [http://projects.edgewall.com/trac/changeset/2247 r2247] (or 0.9b2 once that has been released).
cmlenz
parents:
181
diff
changeset
|
38 ) |