Commit 283addf7 authored by Jim Fulton's avatar Jim Fulton

Tweaked to reflect current state of install process.

parent 572dddeb
==== ====
ZODB ZODB
==== ====
Introduction Introduction
...@@ -13,7 +13,7 @@ follows: ...@@ -13,7 +13,7 @@ follows:
- Standard storages such as FileStorage - Standard storages such as FileStorage
- The persistent BTrees modules - The persistent BTrees modules
- ZEO, for scalability needs - ZEO, for scalability needs
- documentation (needs more work) - documentation (needs a lot more work)
Our primary development platforms are Linux, Mac OS X, and Windows Our primary development platforms are Linux, Mac OS X, and Windows
XP. The test suite should pass without error on all of these XP. The test suite should pass without error on all of these
...@@ -24,7 +24,6 @@ you pass --all as an argument to test.py. ...@@ -24,7 +24,6 @@ you pass --all as an argument to test.py.
Compatibility Compatibility
============= =============
ZODB 3.9 requires Python 2.4.2 or later. ZODB 3.9 requires Python 2.4.2 or later.
ZODB ZEO clients from ZODB 3.2 on can talk to ZODB 3.9 servers. ZODB ZODB ZEO clients from ZODB 3.2 on can talk to ZODB 3.9 servers. ZODB
...@@ -33,15 +32,13 @@ ZEO Clients can talk to ZODB 3.8 and 3.9 ZEO servers. ...@@ -33,15 +32,13 @@ ZEO Clients can talk to ZODB 3.8 and 3.9 ZEO servers.
Prerequisites Prerequisites
============= =============
You must have Python installed. If you've installed Python from RPM, You must have Python installed. If you're using a system Python
be sure that you've installed the development RPMs too, since ZODB install, make sure development support is installed too.
builds Python extensions. If you have the source release of ZODB,
you will need a C compiler.
You also need the transaction, zc.lockfile, ZConfig, zdaemon, You also need the transaction, zc.lockfile, ZConfig, zdaemon,
zope.event, zope.interface, zope.proxy and zope.testing packages. If zope.event, zope.interface, zope.proxy and zope.testing packages. If
you are using easy_install or zc.buildout to install ZODB, then these you don't have them and you can connect to the Python Package Index,
will be installed for you automatically. then these will be installed for you if you don't have them.
Installation Installation
============ ============
...@@ -55,28 +52,23 @@ To install by hand, first install the dependencies, ZConfig, zdaemon, ...@@ -55,28 +52,23 @@ To install by hand, first install the dependencies, ZConfig, zdaemon,
zope.interface, zope.proxy and zope.testing. These can be found zope.interface, zope.proxy and zope.testing. These can be found
in the `Python Package Index <http://www.python.org/pypi>`_. in the `Python Package Index <http://www.python.org/pypi>`_.
To build it, run the setup script:: To run the tests, use the test setup command::
% python setup.py build
The 64-bit support for the BTrees package may be enabled by using this
build command instead::
% python setup.py build_ext -DZODB_64BIT_INTS build python setup.py test
To test the build, run the test script:: It will download dependencies if needed. If this happens, ou may get
an import error when the test command gets to looking for tests. Try
running the test command a second time and you should see the tests
run.
% python test.py ::
For more verbose test output, append one or two '-v' arguments to this python setup.py test
command.
If all the tests succeeded, you can install ZODB using the setup To install, use the install command::
script::
% python setup.py install python setup.py install
This should now make all of ZODB accessible to your Python programs.
Testing for Developers Testing for Developers
====================== ======================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment