[Checkins] SVN: relstorage/trunk/ Added a setup.py and package metadata.

Shane Hathaway shane at hathawaymix.org
Fri Feb 22 03:24:25 EST 2008


Log message for revision 84130:
  Added a setup.py and package metadata.
  

Changed:
  U   relstorage/trunk/CHANGELOG.txt
  A   relstorage/trunk/MANIFEST
  A   relstorage/trunk/MANIFEST.in
  U   relstorage/trunk/README.txt
  A   relstorage/trunk/setup.py

-=-
Modified: relstorage/trunk/CHANGELOG.txt
===================================================================
--- relstorage/trunk/CHANGELOG.txt	2008-02-22 07:35:44 UTC (rev 84129)
+++ relstorage/trunk/CHANGELOG.txt	2008-02-22 08:24:25 UTC (rev 84130)
@@ -1,15 +1,14 @@
 
-relstorage 1.0 beta
+RelStorage 1.0 beta
 
 - Renamed to reflect expanding database support.
 
-- Support for Oracle added.
+- Added support for Oracle 10g.
 
 - Major overhaul with many scalability and reliability improvements,
   particularly in the area of packing.
 
-- Moved to svn.zope.org and switched to ZPL 2.1 (required for projects
-  on svn.zope.org.)
+- Moved to svn.zope.org and switched to ZPL 2.1.
 
 - Made two-phase commit optional in both Oracle and PostgreSQL.  They
   both use commit_lock in such a way that the commit is not likely to
@@ -32,7 +31,7 @@
 - Removed the code in the Oracle adapter for retrying connection attempts.
   (It is better to just reconfigure Oracle.)
 
-- Added support for MySQL.  (Version 5.0 is probably the minimum.)
+- Added support for MySQL 5.0.
 
 - Added the poll_interval option.  It reduces the frequency of database
   polls, but it also increases the potential for conflict errors on
@@ -51,8 +50,6 @@
   metadata.  The problem has been fixed for all supported databases.
 
 
-
-
 PGStorage 0.4
 
 - Began using the PostgreSQL LISTEN and NOTIFY statements as a shortcut

Added: relstorage/trunk/MANIFEST
===================================================================
--- relstorage/trunk/MANIFEST	                        (rev 0)
+++ relstorage/trunk/MANIFEST	2008-02-22 08:24:25 UTC (rev 84130)
@@ -0,0 +1,21 @@
+CHANGELOG.txt
+MANIFEST.in
+README.txt
+poll-invalidation-1-zodb-3-7-1.patch
+poll-invalidation-1-zodb-3-8-0.patch
+setup.py
+relstorage/__init__.py
+relstorage/component.xml
+relstorage/config.py
+relstorage/relstorage.py
+relstorage/adapters/__init__.py
+relstorage/adapters/common.py
+relstorage/adapters/mysql.py
+relstorage/adapters/oracle.py
+relstorage/adapters/postgresql.py
+relstorage/tests/__init__.py
+relstorage/tests/reltestbase.py
+relstorage/tests/speedtest.py
+relstorage/tests/testmysql.py
+relstorage/tests/testoracle.py
+relstorage/tests/testpostgresql.py

Added: relstorage/trunk/MANIFEST.in
===================================================================
--- relstorage/trunk/MANIFEST.in	                        (rev 0)
+++ relstorage/trunk/MANIFEST.in	2008-02-22 08:24:25 UTC (rev 84130)
@@ -0,0 +1,2 @@
+include MANIFEST.in *.txt *.py *.patch
+recursive-include relstorage *.py *.xml

Modified: relstorage/trunk/README.txt
===================================================================
--- relstorage/trunk/README.txt	2008-02-22 07:35:44 UTC (rev 84129)
+++ relstorage/trunk/README.txt	2008-02-22 08:24:25 UTC (rev 84130)
@@ -1,8 +1,10 @@
 
-To make Zope store in RelStorage, first patch ZODB/Connection.py using the
-provided patch.  The patch is for Zope 2.10.5.  Then modify etc/zope.conf.
+See http://wiki.zope.org/ZODB/RelStorage .
 
+To make Zope store in RelStorage, first patch ZODB using the provided
+patch.  The patch is for Zope 2.10.5.  Then modify etc/zope.conf.
 
+
 For PostgreSQL, use this in etc/zope.conf:
 
 %import relstorage

Added: relstorage/trunk/setup.py
===================================================================
--- relstorage/trunk/setup.py	                        (rev 0)
+++ relstorage/trunk/setup.py	2008-02-22 08:24:25 UTC (rev 84130)
@@ -0,0 +1,63 @@
+##############################################################################
+#
+# Copyright (c) 2008 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""A backend for ZODB that stores pickles in a relational database.
+
+This is designed to be a drop-in replacement for the standard ZODB
+combination of FileStorage and ZEO.  Multiple ZODB clients can
+share the same database without any additional configuration.
+Supports undo, historical database views, packing, and lossless
+migration between FileStorage and RelStorage instances.
+
+The supported relational databases are PostgreSQL 8.1 and above
+(using the psycopg2 Python module), MySQL 5.0 and above (using the
+MySQLdb 1.2.2 Python module), and Oracle 10g (using cx_Oracle 4.3).
+
+A small patch to ZODB is required.  See the patch files distributed
+with RelStorage.
+"""
+
+VERSION = "1.0-beta1"
+
+classifiers = """\
+Development Status :: 4 - Beta
+Intended Audience :: Developers
+License :: OSI Approved :: Zope Public License
+Programming Language :: Python
+Topic :: Database
+Topic :: Software Development :: Libraries :: Python Modules
+Operating System :: Microsoft :: Windows
+Operating System :: Unix
+"""
+
+
+from distutils.core import setup
+
+doclines = __doc__.split("\n")
+
+setup(
+    name="RelStorage",
+    version=VERSION,
+    maintainer="Shane Hathaway",
+    maintainer_email="shane at hathawaymix.org",
+    url="http://wiki.zope.org/ZODB/RelStorage",
+    packages=['relstorage', 'relstorage.adapters', 'relstorage.tests'],
+    package_data={
+        'relstorage': ['component.xml'],
+    },
+    license="ZPL 2.1",
+    platforms=["any"],
+    description=doclines[0],
+    classifiers=filter(None, classifiers.split("\n")),
+    long_description = "\n".join(doclines[2:]),
+    )



More information about the Checkins mailing list