Code

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