1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
|
QM Tools
------------------------------------------------------------------------
1. REQUIREMENTS
To run QM, you will need Python Python 2.2 (or greater). Visit
http://www.python.org
to obtain source and binary distributions of Python.
If you are using Windows, you must also install the Python Win32
extensions. Visit:
http://starship.python.net/crew/mhammond/win32/Downloads.html
You must use GNU Make to build QM.
------------------------------------------------------------------------
2. LICENSE
QM is licensed under the GNU General Public License. See the file
COPYING for the exact text of the license.
The DocumentTemplate module is Copyright Zope Corporation and
Contributors. See:
qm/external/DocumentTemplate/LICENSE.txt
for the exact text of that license.
------------------------------------------------------------------------
3. BUILDING QM
From the top of the source tree, first configure the sources:
./configure
The configuration script looks for a Python interpreter executable
in your PATH. To specify a different interpreter, specify the
option
--with-python=INTERPRETER_PATH
To install QM in a location other than /usr/local specify the
--prefix option to configure:
--prefix=/path/to/install
If you are building from CVS sources and want to build the
documentation add:
--enable-maintainer-mode
If you are building from a released version, you do not need to use
this option.
After running configure, run:
make
to perform the build. You must use GNU make, which is called
"gmake" on some systems.
If you are modifying QMTest, you may want to install HappyDoc 2.1
from:
http://sourceforge.net/projects/happydoc/
If you install HappyDoc before you run configure, you can use:
make doc-python
to build documentation about the internals of QM.
- TESTING QM
QM comes with a test suite to test itself. Of course, this test
suite is implemented using QMTest. To run it, invoke
make check
after performing building QM.
- INSTALLING QM
To install QM:
make install
By default, this command installs files under /usr/local; to use a
different prefix, specify the --prefix option to configure.
------------------------------------------------------------------------
Local Variables:
mode: text
fill-column: 72
End:
|