annotate setup.py @ 136:f092e686e06b

* Exclude `ez_setup.py` from the distribution. * Add project description. * Add SVN revision to file name of distribution archives.
author cmlenz
date Mon, 15 Aug 2005 09:33:01 +0000
parents 4bee62474361
children 4289fa18de0f
rev   line source
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
1 #!/usr/bin/env python
5
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
2 # -*- coding: iso8859-1 -*-
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
3 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
4 # Copyright (C) 2005 Christopher Lenz <cmlenz@gmx.de>
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
5 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
6 # Bitten is free software; you can redistribute it and/or
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
7 # modify it under the terms of the GNU General Public License as
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
8 # published by the Free Software Foundation; either version 2 of the
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
9 # License, or (at your option) any later version.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
10 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
11 # Trac is distributed in the hope that it will be useful,
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
14 # General Public License for more details.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
15 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
16 # You should have received a copy of the GNU General Public License
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
17 # along with this program; if not, write to the Free Software
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
18 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
19 #
738a0ae251f6 Added GPL boilerplate.
cmlenz
parents: 4
diff changeset
20 # Author: Christopher Lenz <cmlenz@gmx.de>
4
196009657e5e Simplify the recipe commands interface:
cmlenz
parents: 3
diff changeset
21
104
4bee62474361 The `.bat` files don't work when installed using setuptools, so get rid of them.
cmlenz
parents: 99
diff changeset
22 import ez_setup
99
efc1eed69ba8 Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents: 78
diff changeset
23 ez_setup.use_setuptools()
efc1eed69ba8 Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents: 78
diff changeset
24
efc1eed69ba8 Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents: 78
diff changeset
25 from setuptools import setup, find_packages
68
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
26 from distutils import util
6
9b57159428b0 Fix package list in {{{setup.py}}}.
cmlenz
parents: 5
diff changeset
27
19
9db5f8eddb0d Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents: 17
diff changeset
28 from bitten import __version__ as VERSION
22
e67713b7936f Moved test runner into {{{bitten.util}}}} package.
cmlenz
parents: 21
diff changeset
29 from bitten.util.testrunner import unittest
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
30
136
f092e686e06b * Exclude `ez_setup.py` from the distribution.
cmlenz
parents: 104
diff changeset
31 setup(name='bitten', version=VERSION, author='Christopher Lenz',
f092e686e06b * Exclude `ez_setup.py` from the distribution.
cmlenz
parents: 104
diff changeset
32 author_email='cmlenz@gmx.de', url='http://bitten.cmlenz.net/',
f092e686e06b * Exclude `ez_setup.py` from the distribution.
cmlenz
parents: 104
diff changeset
33 description='Framework for collecting software metrics via continuous '
f092e686e06b * Exclude `ez_setup.py` from the distribution.
cmlenz
parents: 104
diff changeset
34 'integration',
f092e686e06b * Exclude `ez_setup.py` from the distribution.
cmlenz
parents: 104
diff changeset
35 packages=find_packages(exclude=['ez_setup', '*.tests*']),
99
efc1eed69ba8 Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents: 78
diff changeset
36 package_data={'bitten.trac_ext': ['templates/*.cs', 'htdocs/*.*']},
104
4bee62474361 The `.bat` files don't work when installed using setuptools, so get rid of them.
cmlenz
parents: 99
diff changeset
37 scripts=['scripts/bitten', 'scripts/bittend'],
4bee62474361 The `.bat` files don't work when installed using setuptools, so get rid of them.
cmlenz
parents: 99
diff changeset
38 test_suite='bitten.tests.suite', zip_safe=True,
99
efc1eed69ba8 Make Bitten deployable in Trac as a [http://peak.telecommunity.com/DevCenter/PythonEggs Python egg].
cmlenz
parents: 78
diff changeset
39 cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software