Code

Started stuff off for the 0.2.5 release
[roundup.git] / setup.py
1 #! /usr/bin/env python
2 # $Id: setup.py,v 1.11 2001-08-03 01:54:58 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.5",
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.10  2001/07/30 07:17:44  richard
40 # Just making sure we've got the right version in there for development.
41 #
42 # Revision 1.9  2001/07/29 23:34:26  richard
43 # Added unit tests so they're run whenever we package/install/whatever.
44 #
45 # Revision 1.8  2001/07/29 09:43:46  richard
46 # Make sure that the htmlbase is up-to-date when we build a source dist.
47 #
48 # Revision 1.7  2001/07/29 08:37:58  richard
49 # changes
50 #
51 # Revision 1.6  2001/07/29 07:01:39  richard
52 # Added vim command to all source so that we don't get no steenkin' tabs :)
53 #
54 # Revision 1.5  2001/07/28 00:39:18  richard
55 # changes for the 0.2.1 distribution build.
56 #
57 # Revision 1.4  2001/07/27 07:20:17  richard
58 # Makefile is now obsolete - setup does what it used to do.
59 #
60 # Revision 1.3  2001/07/27 06:56:25  richard
61 # Added scripts to the setup and added the config so the default script
62 # install dir is /usr/local/bin.
63 #
64 # Revision 1.2  2001/07/26 07:14:27  richard
65 # Made setup.py executable, added id and log.
66 #
67 #
68 #
69 # vim: set filetype=python ts=4 sw=4 et si