Installing PEAK |
Installing PEAK |
|
|
PEAK Release 0.5 alpha 3 |
PEAK Release 0.5 alpha 4 |
|
|
Copyright (C) 1996-2004 by Phillip J. Eby and Tyler C. Sarna. |
Copyright (C) 1996-2004 by Phillip J. Eby and Tyler C. Sarna. |
All rights reserved. This software may be used under the same terms |
All rights reserved. This software may be used under the same terms |
|
|
SYSTEM REQUIREMENTS |
SYSTEM REQUIREMENTS |
|
|
Python 2.2.2 or better is required. Some portions of PEAK may support only |
Python 2.3.4 or better is required. Some portions of PEAK may support only |
POSIX-like and/or Windows operating systems. Installation from a source |
POSIX-like and/or Windows operating systems. Installation from a source |
distribution requires a C compiler that works with Python. |
distribution requires a C compiler that works with Python. |
|
|
|
|
peak test |
peak test |
|
|
This will run over 120 tests on various parts of PEAK. If you have |
This will run over 800 tests on various parts of PEAK. If you have |
installed everything correctly, 100% of the tests should succeed. If |
installed everything correctly, 100% of the tests should succeed. If |
anything is broken, you will probably be unable to run the tests at all. |
anything is broken, you will probably be unable to run the tests at all. |
|
|
|
|
|
|
|
|
THIRD PARTY SOFTWARE INCLUDED WITH PEAK |
|
|
|
Aaron Watters' 'kjbuckets' Module |
|
|
|
PEAK now includes a copy of Aaron Watters' 'kjbuckets' module for |
|
your convenience, and automatically installs it alongside PEAK in |
|
your Python 'site-packages' directory. (Note that this will overwrite |
|
any existing installation of the 'kjbuckets' module.) |
|
|
|
'kjbuckets' is copyright Aaron Watters and contributors; please see |
|
the 'src/kjbuckets/COPYRIGHT.txt' file for details of its license. |
|
|
|
The Zope 3 'persistence' and 'ZConfig' Packages |
|
|
|
PEAK includes a copy of the following packages from the Zope X3 Milestone 2 |
|
release, and will install them unless Zope X3 is available on 'sys.path' |
|
at the time 'setup.py' is run: |
|
|
|
- 'persistence' |
|
|
|
- 'ZConfig' |
|
|
|
(Also, if you are using a Python version that does not include the 'datetime' |
|
or 'csv' packages (i.e. versions < 2.3), replacement versions are installed |
|
as well.) These packages are automatically installed alongside PEAK in your |
|
'site-packages' directory, unless you specify an alternate installation |
|
location to 'setup.py'. Note that this will overwrite any existing |
|
installation of these packages. |
|
|
|
To prevent overwriting versions of these packages that were installed |
|
separately, 'setup.py' attempts to detect the presence of Zope X3 by |
|
importing 'zope.component' (which is not distributed with PEAK). If you |
|
have a 'zope.component' package on your 'sys.path' when 'setup.py' runs, |
|
'setup.py' will assume you have a complete Zope X3 installation, and it |
|
will not install any of the Zope packages listed above, in order to avoid |
|
overwriting newer versions from your Zope installation. |
|
|
|
The 'datetime', 'persistence' and 'ZConfig' packages are Copyright Zope |
|
Corporation and contributors; please see the 'LICENSE.txt' files in their |
|
directories for details of their licenses. |
|
|
|
The 'fcgiapp' Module |
|
|
|
On platforms where 'os.name=="posix"' (most Unixes and Cygwin), PEAK also |
|
installs the 'fcgiapp' module, which provides support for the FastCGI |
|
protocol. You may experience problems building this module on some |
|
platforms; check the 'fcgiconfig.h' to see if you need to change anything |
|
for your system. Or, you can simply disable it, by editing 'setup.py' |
|
and changing the 'include_fcgiapp' flag to 'False'. |
|
|
|
The 'fcgiapp' module is Copyright Digital Creations, LC (now Zope Corp.); |
|
see the 'fcgiappmodule.c' file for details of its license. In the same |
|
directory are distributed portions of the FastCGI Development Kit, which |
|
is Copyright Open Market, Inc. See the 'LICENSE.TERMS' file in that |
|
directory for details of its license. |
|
|
|
|
|
|
|
EMBEDDING PEAK IN AN APPLICATION |
EMBEDDING PEAK IN AN APPLICATION |
|
|
If you are embedding PEAK in an application that you are distributing, |
If you are embedding PEAK in an application that you are distributing, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|