Code

Make sure that the htmlbase is up-to-date when we build a source dist.
[roundup.git] / setup.py
1 #! /usr/bin/env python
2 # $Id: setup.py,v 1.8 2001-07-29 09:43:46 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 templates = 'classic', 'extended'
12 packagelist = [ 'roundup', 'roundup.backends', 'roundup.templates' ]
13 installdatafiles = []
15 for t in templates:
16     makeHtmlBase(os.path.join('roundup', 'templates', t))
17     packagelist.append('roundup.templates.%s'%t)
18     packagelist.append('roundup.templates.%s.detectors'%t)
19     tfiles = glob(os.path.join('roundup','templates', t, 'html', '*'))
20     tfiles = filter(os.path.isfile, tfiles)
23 setup ( name = "roundup", 
24         version = "0.2.2",
25         description = "Roundup issue tracking system.",
26         author = "Richard Jones",
27         author_email = "richard@sourceforge.net",
28         url = 'http://sourceforge.net/projects/roundup/',
29         packages = packagelist,
30         scripts = ['roundup-admin', 'roundup-mailgw', 'roundup-server']
31 )
33 #
34 # $Log: not supported by cvs2svn $
35 # Revision 1.7  2001/07/29 08:37:58  richard
36 # changes
37 #
38 # Revision 1.6  2001/07/29 07:01:39  richard
39 # Added vim command to all source so that we don't get no steenkin' tabs :)
40 #
41 # Revision 1.5  2001/07/28 00:39:18  richard
42 # changes for the 0.2.1 distribution build.
43 #
44 # Revision 1.4  2001/07/27 07:20:17  richard
45 # Makefile is now obsolete - setup does what it used to do.
46 #
47 # Revision 1.3  2001/07/27 06:56:25  richard
48 # Added scripts to the setup and added the config so the default script
49 # install dir is /usr/local/bin.
50 #
51 # Revision 1.2  2001/07/26 07:14:27  richard
52 # Made setup.py executable, added id and log.
53 #
54 #
55 #
56 # vim: set filetype=python ts=4 sw=4 et si