view config.py @ 4:b10f8834cce4

modified to use localconfig.py (if it exists) and to make the various options (e.g. paths) based on ROUNDUP_HOME &c.
author Anthony Baxter <anthonybaxter@users.sourceforge.net>
date Thu, 19 Jul 2001 05:46:47 +0000
parents 97559f7bae2e
children 72a0ba086b3e
line wrap: on
line source

ROUNDUP_HOME=MAIL_DOMAIN=MAILHOST=None

try:
    from localconfig import *
except ImportError:
    localconfig = None

import os

# This is the root directory for roundup
if not ROUNDUP_HOME:
    ROUNDUP_HOME='/home/httpd/html/roundup'

# The SMTP mail host that roundup will use to send mail
if not MAILHOST:
    MAILHOST = 'localhost'

# The domain name used for email addresses.
if not MAIL_DOMAIN:
    MAIL_DOMAIN = 'bizarsoftware.com.au'

# This is the directory that the database is going to be stored in
DATABASE = os.path.join(ROUNDUP_HOME, 'db')

# The email address that mail to roundup should go to
ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN

# The email address that roundup will complain to if it runs into trouble
ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN

# Somewhere for roundup to log stuff internally sent to stdout or stderr
LOG = os.path.join(ROUNDUP_HOME, 'roundup.log')

del os

Roundup Issue Tracker: http://roundup-tracker.org/