annotate setup.py @ 281:d38ca22f7a2f 0.3.0-pre1

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

Roundup Issue Tracker: http://roundup-tracker.org/