Code

Roundupdb now appends "mailing list" information to its messages which
[roundup.git] / roundup / templates / extended / instance_config.py
1 # $Id: instance_config.py,v 1.3 2001-08-02 06:38:17 richard Exp $
3 MAIL_DOMAIN=MAILHOST=HTTP_HOST=None
4 HTTP_PORT=0
6 try:
7     from localconfig import *
8 except ImportError:
9     localconfig = None
11 import os
13 # roundup home is this package's directory
14 INSTANCE_HOME=os.path.split(__file__)[0]
16 # The SMTP mail host that roundup will use to send mail
17 if not MAILHOST:
18     MAILHOST = 'localhost'
20 # The domain name used for email addresses.
21 if not MAIL_DOMAIN:
22     MAIL_DOMAIN = 'bizarsoftware.com.au'
24 # the next two are only used for the standalone HTTP server.
25 if not HTTP_HOST:
26     HTTP_HOST = ''
27 if not HTTP_PORT:
28     HTTP_PORT = 9080
30 # This is the directory that the database is going to be stored in
31 DATABASE = os.path.join(INSTANCE_HOME, 'db')
33 # This is the directory that the HTML templates reside in
34 TEMPLATES = os.path.join(INSTANCE_HOME, 'html')
36 # The email address that mail to roundup should go to
37 ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN
39 # The web address that the instance is viewable at
40 ISSUE_TRACKER_WEB = 'http://www.bizarsoftware.com.au/cgi-bin/roundup.cgi/issues'
42 # The email address that roundup will complain to if it runs into trouble
43 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
45 # Somewhere for roundup to log stuff internally sent to stdout or stderr
46 LOG = os.path.join(INSTANCE_HOME, 'roundup.log')
48 #
49 # $Log: not supported by cvs2svn $
50 # Revision 1.2  2001/07/29 07:01:39  richard
51 # Added vim command to all source so that we don't get no steenkin' tabs :)
52 #
53 # Revision 1.1  2001/07/23 04:33:21  anthonybaxter
54 # split __init__.py into 2. dbinit and instance_config.
55 #
56 #
57 # vim: set filetype=python ts=4 sw=4 et si