1 #! /usr/bin/env python
2 #
3 # Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
4 # This module is free software, and you may redistribute it and/or modify
5 # under the same terms as Python, so long as this copyright message and
6 # disclaimer are retained in their original form.
7 #
8 # IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
9 # DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
10 # OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
11 # POSSIBILITY OF SUCH DAMAGE.
12 #
13 # BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
18 #
19 # $Id: setup.py,v 1.24 2001-11-06 22:32:15 jhermann Exp $
21 from distutils.core import setup, Extension
22 from distutils.util import get_platform
24 from glob import glob
25 import os
26 from roundup.templatebuilder import makeHtmlBase
28 print 'Running unit tests...'
29 import test
30 test.go()
32 templates = 'classic', 'extended'
33 packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ]
34 installdatafiles = []
36 for t in templates:
37 makeHtmlBase(os.path.join('roundup', 'templates', t))
38 packagelist.append('roundup.templates.%s'%t)
39 packagelist.append('roundup.templates.%s.detectors'%t)
40 tfiles = glob(os.path.join('roundup','templates', t, 'html', '*'))
41 tfiles = filter(os.path.isfile, tfiles)
44 setup ( name = "roundup",
45 version = "0.3.0pre3",
46 description = "Roundup issue tracking system.",
47 author = "Richard Jones",
48 author_email = "richard@users.sourceforge.net",
49 url = 'http://sourceforge.net/projects/roundup/',
50 packages = packagelist,
51 scripts = ['roundup-admin', 'roundup-mailgw', 'roundup-server'],
52 data_files= [
53 ('share/roundup/cgi-bin', ['cgi-bin/roundup.cgi']),
54 ]
55 )
57 #
58 # $Log: not supported by cvs2svn $
59 # Revision 1.23 2001/10/17 06:04:00 richard
60 # Beginnings of an interactive mode for roundup-admin
61 #
62 # Revision 1.22 2001/10/11 05:01:28 richard
63 # Prep for pre-release #2
64 #
65 # Revision 1.21 2001/10/10 04:18:38 richard
66 # Getting ready for a preview release for 0.3.0.
67 #
68 # Revision 1.20 2001/10/08 21:49:30 richard
69 # Minor pre- 0.3.0 changes
70 #
71 # Revision 1.19 2001/09/10 09:48:35 richard
72 # Started changes log for 0.2.9
73 #
74 # Revision 1.18 2001/08/30 06:01:17 richard
75 # Fixed missing import in mailgw :(
76 #
77 # Revision 1.17 2001/08/08 03:29:35 richard
78 # Next release is 0.2.6
79 #
80 # Revision 1.16 2001/08/07 00:24:42 richard
81 # stupid typo
82 #
83 # Revision 1.15 2001/08/07 00:15:51 richard
84 # Added the copyright/license notice to (nearly) all files at request of
85 # Bizar Software.
86 #
87 # Revision 1.14 2001/08/06 23:57:20 richard
88 # Am now bundling unittest with the package so that everyone can use the unit
89 # tests.
90 #
91 # Revision 1.13 2001/08/03 07:18:57 richard
92 # updated version number for 0.2.6
93 #
94 # Revision 1.12 2001/08/03 02:51:06 richard
95 # detect unit tests
96 #
97 # Revision 1.11 2001/08/03 01:54:58 richard
98 # Started stuff off for the 0.2.5 release
99 #
100 # Revision 1.10 2001/07/30 07:17:44 richard
101 # Just making sure we've got the right version in there for development.
102 #
103 # Revision 1.9 2001/07/29 23:34:26 richard
104 # Added unit tests so they're run whenever we package/install/whatever.
105 #
106 # Revision 1.8 2001/07/29 09:43:46 richard
107 # Make sure that the htmlbase is up-to-date when we build a source dist.
108 #
109 # Revision 1.7 2001/07/29 08:37:58 richard
110 # changes
111 #
112 # Revision 1.6 2001/07/29 07:01:39 richard
113 # Added vim command to all source so that we don't get no steenkin' tabs :)
114 #
115 # Revision 1.5 2001/07/28 00:39:18 richard
116 # changes for the 0.2.1 distribution build.
117 #
118 # Revision 1.4 2001/07/27 07:20:17 richard
119 # Makefile is now obsolete - setup does what it used to do.
120 #
121 # Revision 1.3 2001/07/27 06:56:25 richard
122 # Added scripts to the setup and added the config so the default script
123 # install dir is /usr/local/bin.
124 #
125 # Revision 1.2 2001/07/26 07:14:27 richard
126 # Made setup.py executable, added id and log.
127 #
128 #
129 #
130 # vim: set filetype=python ts=4 sw=4 et si