| Home | Trees | Indices | Help |
|---|
|
|
1 ########################################################################
2 #
3 # File: __init__.py
4 # Author: Alex Samuel
5 # Date: 2000-12-20
6 #
7 # Contents:
8 # Initialization for module qm.
9 #
10 # Copyright (c) 2000 by CodeSourcery, LLC. All rights reserved.
11 #
12 # For license terms see the file COPYING.
13 #
14 ########################################################################
15
16 ########################################################################
17 # Imports
18 ########################################################################
19
20 from qm.common import *
21 from qm.diagnostic import error, warning, message
22 from qm.config import version
23 from qm.config import data_dir
24 from qm.config import doc_dir
25 from qm.config import extension_path
26 # The prefix variable is only available after QMTest is built.
27 # Compute it, if it isn't available.
28 try:
29 from qm.config import prefix
30 except ImportError:
31 import os
32 prefix = os.path.join(os.path.dirname(__file__), os.path.pardir)
33
34 version_info = tuple(version.split('.'))
35
36 ########################################################################
37 # Local Variables:
38 # mode: python
39 # indent-tabs-mode: nil
40 # End:
41
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 16 22:13:46 2008 | http://epydoc.sourceforge.net |