[Checkins] SVN: zope.sqlalchemy/branches/sqlalchemy-0.5-support/ * introduce CHANGES for changelog maintenance

Martijn Faassen faassen at infrae.com
Thu Jun 19 12:58:19 EDT 2008


Log message for revision 87557:
  * introduce CHANGES for changelog maintenance
  
  * introduces CREDITS file
  
  * include CHANGES in pypi documentation (adjusted some
    ReST here and there)
  
  * require SA 0.5 beta 1 or higher now
  
  * ignore some buildout droppings
  

Changed:
  A   zope.sqlalchemy/branches/sqlalchemy-0.5-support/CHANGES.txt
  A   zope.sqlalchemy/branches/sqlalchemy-0.5-support/CREDITS.txt
  U   zope.sqlalchemy/branches/sqlalchemy-0.5-support/README.txt
  U   zope.sqlalchemy/branches/sqlalchemy-0.5-support/setup.py
  U   zope.sqlalchemy/branches/sqlalchemy-0.5-support/src/zope/sqlalchemy/README.txt

-=-
Added: zope.sqlalchemy/branches/sqlalchemy-0.5-support/CHANGES.txt
===================================================================
--- zope.sqlalchemy/branches/sqlalchemy-0.5-support/CHANGES.txt	                        (rev 0)
+++ zope.sqlalchemy/branches/sqlalchemy-0.5-support/CHANGES.txt	2008-06-19 16:58:18 UTC (rev 87557)
@@ -0,0 +1,15 @@
+zope.sqlalchemy changes
+***********************
+
+0.2 (unreleased)
+================
+
+Features changes
+----------------
+
+* Updated to support SQLAlchemy 0.5.
+
+0.1
+===
+
+Initial public release.

Added: zope.sqlalchemy/branches/sqlalchemy-0.5-support/CREDITS.txt
===================================================================
--- zope.sqlalchemy/branches/sqlalchemy-0.5-support/CREDITS.txt	                        (rev 0)
+++ zope.sqlalchemy/branches/sqlalchemy-0.5-support/CREDITS.txt	2008-06-19 16:58:18 UTC (rev 87557)
@@ -0,0 +1,10 @@
+zope.sqlalchemy credits
+***********************
+
+* Laurence Rowe - creator and main developer
+
+* Martijn Faassen - updated to work with SQLAlchemy 0.5
+
+Also thanks to Michael Bayer for help with integration in SQLAlchemy
+and of course SQLAlchemy itself, as well as the many Zope developers
+who worked on Zope/SQLAlchemy integration projects.

Modified: zope.sqlalchemy/branches/sqlalchemy-0.5-support/README.txt
===================================================================
--- zope.sqlalchemy/branches/sqlalchemy-0.5-support/README.txt	2008-06-19 16:56:58 UTC (rev 87556)
+++ zope.sqlalchemy/branches/sqlalchemy-0.5-support/README.txt	2008-06-19 16:58:18 UTC (rev 87557)
@@ -1,5 +1,3 @@
-=================
- zope.sqlalchemy
-=================
-
-Zope/SQLAlchemy transaction integration. See src/zope/sqlalchemy/README.txt.
+***************
+zope.sqlalchemy
+***************

Modified: zope.sqlalchemy/branches/sqlalchemy-0.5-support/setup.py
===================================================================
--- zope.sqlalchemy/branches/sqlalchemy-0.5-support/setup.py	2008-06-19 16:56:58 UTC (rev 87556)
+++ zope.sqlalchemy/branches/sqlalchemy-0.5-support/setup.py	2008-06-19 16:58:18 UTC (rev 87557)
@@ -4,16 +4,21 @@
 def read(*rnames):
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-version = '0.1'
+def desc(*texts):
+    return '\n'.join(texts)
 
-long_description = read('src', 'zope', 'sqlalchemy', 'README.txt') + """
+SVN_VERSION = "`SVN version <svn://svn.zope.org/repos/main/zope.sqlalchemy/trunk#egg=zope.sqlalchemy-dev>`_\n"
 
-`SVN version <svn://svn.zope.org/repos/main/zope.sqlalchemy/trunk#egg=zope.sqlalchemy-dev>`_.
+long_description = desc(
+    read('README.txt'),
+    read('src', 'zope', 'sqlalchemy', 'README.txt'),
+    SVN_VERSION,
+    read('CHANGES.txt'),
+    'Download\n********\n',
+    )
 
-"""
-
 setup(name='zope.sqlalchemy',
-      version=version,
+      version='0.2dev',
       description="Minimal Zope/SQLAlchemy transaction integration",
       long_description=long_description,
       # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
@@ -36,7 +41,7 @@
       install_requires=[
           # -*- Extra requirements: -*-
           'setuptools',
-          'SQLAlchemy>=0.4.6',
+          'SQLAlchemy>=0.5.0beta1',
           'transaction',
           'zope.interface',
       ],

Modified: zope.sqlalchemy/branches/sqlalchemy-0.5-support/src/zope/sqlalchemy/README.txt
===================================================================
--- zope.sqlalchemy/branches/sqlalchemy-0.5-support/src/zope/sqlalchemy/README.txt	2008-06-19 16:56:58 UTC (rev 87556)
+++ zope.sqlalchemy/branches/sqlalchemy-0.5-support/src/zope/sqlalchemy/README.txt	2008-06-19 16:58:18 UTC (rev 87557)
@@ -1,7 +1,9 @@
-=================
- zope.sqlalchemy
-=================
+zope.sqlalchemy
+***************
 
+Introduction
+============
+
 The aim of this package is to unify the plethora of existing packages
 integrating SQLAlchemy with Zope's transaction management. As such it seeks
 only to provide a data manager and makes no attempt to define a `zopeish` way
@@ -12,7 +14,7 @@
 
 
 Running the tests
------------------
+=================
 
 This package is distributed as a buildout. Using your desired python run:
 
@@ -30,7 +32,7 @@
 $ TEST_DSN=postgres://test:test@localhost/test TEST_TWOPHASE=True bin/test
 
 Example
--------
+=======
 
 This example is lifted directly from the SQLAlchemy declarative documentation.
 First the necessary imports.
@@ -66,7 +68,7 @@
 ZopeTransactionExtension from this package.
 
     >>> Session = scoped_session(sessionmaker(bind=engine, twophase=TEST_TWOPHASE,
-    ... transactional=True, autoflush=True, extension=ZopeTransactionExtension()))
+    ... autocommit=False, autoflush=True, extension=ZopeTransactionExtension()))
 
 Call the scoped session factory to retrieve a session. You may call this as
 many times as you like within a transaction and you will always retrieve the



More information about the Checkins mailing list