Code

a644c59f54a600f9fe526f72ec3de3723a7c42d1
[roundup.git] / setup.py
1 #! /usr/bin/env python
2 # $Id: setup.py,v 1.14 2001-08-06 23:57:20 richard Exp $
4 from distutils.core import setup, Extension
5 from distutils.util import get_platform
7 from glob import glob
8 import os
9 from roundup.templatebuilder import makeHtmlBase
11 print 'Running unit tests...'
12 import test
13 test.go()
15 templates = 'classic', 'extended'
16 packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ]
17 installdatafiles = []
19 for t in templates:
20     makeHtmlBase(os.path.join('roundup', 'templates', t))
21     packagelist.append('roundup.templates.%s'%t)
22     packagelist.append('roundup.templates.%s.detectors'%t)
23     tfiles = glob(os.path.join('roundup','templates', t, 'html', '*'))
24     tfiles = filter(os.path.isfile, tfiles)
27 setup ( name = "roundup", 
28         version = "0.2.6",
29         description = "Roundup issue tracking system.",
30         author = "Richard Jones",
31         author_email = "richard@sourceforge.net",
32         url = 'http://sourceforge.net/projects/roundup/',
33         packages = packagelist,
34         scripts = ['roundup-admin', 'roundup-mailgw', 'roundup-server']
35 )
37 #
38 # $Log: not supported by cvs2svn $
39 # Revision 1.13  2001/08/03 07:18:57  richard
40 # updated version number for 0.2.6
41 #
42 # Revision 1.12  2001/08/03 02:51:06  richard
43 # detect unit tests
44 #
45 # Revision 1.11  2001/08/03 01:54:58  richard
46 # Started stuff off for the 0.2.5 release
47 #
48 # Revision 1.10  2001/07/30 07:17:44  richard
49 # Just making sure we've got the right version in there for development.
50 #
51 # Revision 1.9  2001/07/29 23:34:26  richard
52 # Added unit tests so they're run whenever we package/install/whatever.
53 #
54 # Revision 1.8  2001/07/29 09:43:46  richard
55 # Make sure that the htmlbase is up-to-date when we build a source dist.
56 #
57 # Revision 1.7  2001/07/29 08:37:58  richard
58 # changes
59 #
60 # Revision 1.6  2001/07/29 07:01:39  richard
61 # Added vim command to all source so that we don't get no steenkin' tabs :)
62 #
63 # Revision 1.5  2001/07/28 00:39:18  richard
64 # changes for the 0.2.1 distribution build.
65 #
66 # Revision 1.4  2001/07/27 07:20:17  richard
67 # Makefile is now obsolete - setup does what it used to do.
68 #
69 # Revision 1.3  2001/07/27 06:56:25  richard
70 # Added scripts to the setup and added the config so the default script
71 # install dir is /usr/local/bin.
72 #
73 # Revision 1.2  2001/07/26 07:14:27  richard
74 # Made setup.py executable, added id and log.
75 #
76 #
77 #
78 # vim: set filetype=python ts=4 sw=4 et si