Mercurial > p > roundup > code
comparison roundup/templates/classic/config.py @ 1096:fa7df238e2d4
More cleaning up of configuration, and the "instance" -> "tracker" renaming.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 03:01:20 +0000 |
| parents | 283bb1676d65 |
| children | 7c851d1521dc |
comparison
equal
deleted
inserted
replaced
| 1095:711f2ecee20f | 1096:fa7df238e2d4 |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: config.py,v 1.1 2002-09-09 23:56:03 richard Exp $ | 18 # $Id: config.py,v 1.2 2002-09-10 03:01:19 richard Exp $ |
| 19 | 19 |
| 20 import os | 20 import os |
| 21 | 21 |
| 22 # roundup home is this package's directory | 22 # roundup home is this package's directory |
| 23 INSTANCE_HOME=os.path.split(__file__)[0] | 23 TRACKER_HOME=os.path.split(__file__)[0] |
| 24 | 24 |
| 25 # The SMTP mail host that roundup will use to send mail | 25 # The SMTP mail host that roundup will use to send mail |
| 26 MAILHOST = 'localhost' | 26 MAILHOST = 'localhost' |
| 27 | 27 |
| 28 # The domain name used for email addresses. | 28 # The domain name used for email addresses. |
| 29 MAIL_DOMAIN = 'your.tracker.email.domain.example' | 29 MAIL_DOMAIN = 'your.tracker.email.domain.example' |
| 30 | 30 |
| 31 # This is the directory that the database is going to be stored in | 31 # This is the directory that the database is going to be stored in |
| 32 DATABASE = os.path.join(INSTANCE_HOME, 'db') | 32 DATABASE = os.path.join(TRACKER_HOME, 'db') |
| 33 | 33 |
| 34 # This is the directory that the HTML templates reside in | 34 # This is the directory that the HTML templates reside in |
| 35 TEMPLATES = os.path.join(INSTANCE_HOME, 'html') | 35 TEMPLATES = os.path.join(TRACKER_HOME, 'html') |
| 36 | 36 |
| 37 # A descriptive name for your roundup instance | 37 # A descriptive name for your roundup instance |
| 38 INSTANCE_NAME = 'Roundup issue tracker' | 38 TRACKER_NAME = 'Roundup issue tracker' |
| 39 | 39 |
| 40 # The email address that mail to roundup should go to | 40 # The email address that mail to roundup should go to |
| 41 ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN | 41 TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN |
| 42 | 42 |
| 43 # The web address that the instance is viewable at | 43 # The web address that the instance is viewable at |
| 44 ISSUE_TRACKER_WEB = 'http://your.tracker.url.example/' | 44 TRACKER_WEB = 'http://your.tracker.url.example/' |
| 45 | 45 |
| 46 # The email address that roundup will complain to if it runs into trouble | 46 # The email address that roundup will complain to if it runs into trouble |
| 47 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN | 47 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN |
| 48 | 48 |
| 49 # Where to place the web filtering HTML on the index page | 49 # Where to place the web filtering HTML on the index page |
