1 # $Id: instance_config.py,v 1.2 2001-07-29 07:01:39 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 email address that roundup will complain to if it runs into trouble
40 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN
42 # Somewhere for roundup to log stuff internally sent to stdout or stderr
43 LOG = os.path.join(INSTANCE_HOME, 'roundup.log')
45 #
46 # $Log: not supported by cvs2svn $
47 # Revision 1.1 2001/07/23 23:28:43 richard
48 # Adding the classic template
49 #
50 # Revision 1.1 2001/07/23 04:33:21 anthonybaxter
51 # split __init__.py into 2. dbinit and instance_config.
52 #
53 #
54 # vim: set filetype=python ts=4 sw=4 et si