SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

Cog: a simple object database system in pure Python.

Homepage: http://itamarst.org/software/cog/ Original homepage: http://www.randomly.org/projects/cog/ Feedback to itamar@itamarst.org, original author is oliver@randomly.org. Bob Ippolito has done most of the work in the current releases.


Quick installation instructions (note: replace x.y with the current version number as needed)
  1. Ensure distutils is available and that you are running Python 2.2 or later. You'll also need pybsddb, available from http://pybsddb.sf.net/, if you are running 2.2 (2.3 comes with bsddb built-in.)
  2. Extract the Cog source tarball somewhere convenient (you've probably already done this).
  3. Change to the cog-x.y subdirectory that was just extracted.
  4. (optionally) Test the package in-place:
       $ cd cog
       $ python2.2 test.py

     The tests require write access to the system temp directory (e.g. /tmp
     on *nixes).

5. Change to the cog-x.y directory and execute:

python setup.py install

(you will need write access to the system-wide site-packages directory)

6. (optionally) Test that it installed ok:

       $ python2.2
       >>> import cog, cog.test
       >>> cog.__version__
       'x.y'
       >>> cog.test.run_tests()

     (this runs the same set of tests as in step 4).

7. Done.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.