annotate setup.py @ 78:001f77d05cdc

Include {{{templates}}} and {{{htdocs}}} dir in dist/install.
author cmlenz
date Wed, 06 Jul 2005 13:17:13 +0000
parents 234600bf0d49
children efc1eed69ba8
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
6
9b57159428b0 Fix package list in {{{setup.py}}}.
cmlenz
parents: 5
diff changeset
22 from distutils.core import setup
68
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
23 from distutils import util
78
001f77d05cdc Include {{{templates}}} and {{{htdocs}}} dir in dist/install.
cmlenz
parents: 68
diff changeset
24 from glob import glob
6
9b57159428b0 Fix package list in {{{setup.py}}}.
cmlenz
parents: 5
diff changeset
25
19
9db5f8eddb0d Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents: 17
diff changeset
26 from bitten import __version__ as VERSION
22
e67713b7936f Moved test runner into {{{bitten.util}}}} package.
cmlenz
parents: 21
diff changeset
27 from bitten.util.testrunner import unittest
0
0b2a3581c48d Import initial ''bitten'' source.
cmlenz
parents:
diff changeset
28
68
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
29 scripts = ['scripts/bitten', 'scripts/bittend']
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
30 if util.get_platform()[:3] == 'win':
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
31 scripts = [script + '.bat' for script in scripts]
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
32
19
9db5f8eddb0d Proper {{{optparse}}}-based command-line interface for master and slave.
cmlenz
parents: 17
diff changeset
33 setup(name='bitten', version=VERSION,
44
ab569c55c835 Remove obsolete package from setup.py.
cmlenz
parents: 36
diff changeset
34 packages=['bitten', 'bitten.build', 'bitten.trac_ext', 'bitten.util'],
78
001f77d05cdc Include {{{templates}}} and {{{htdocs}}} dir in dist/install.
cmlenz
parents: 68
diff changeset
35 data_files=[('share/bitten/htdocs', glob('htdocs/*.*')),
001f77d05cdc Include {{{templates}}} and {{{htdocs}}} dir in dist/install.
cmlenz
parents: 68
diff changeset
36 ('share/bitten/templates', glob('templates/*.cs'))],
68
234600bf0d49 Fixes for Windows compatibility:
cmlenz
parents: 44
diff changeset
37 scripts=scripts, author="Christopher Lenz", author_email="cmlenz@gmx.de",
7
8442bcb47a03 Initial draft of a minimal [http://www.beepcore.org/ BEEP] protocol implementation for communication between the build master and build slaves.
cmlenz
parents: 6
diff changeset
38 url="http://bitten.cmlenz.net/", cmdclass={'unittest': unittest})
Copyright (C) 2012-2017 Edgewall Software