[Checkins] SVN: Products.SQLAlchemyDA/trunk/ fixes for making PyPI happy

Andreas Jung andreas at andreas-jung.com
Wed Mar 12 07:21:46 EDT 2008


Log message for revision 84611:
  fixes for making PyPI happy
  

Changed:
  U   Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/CHANGES.txt
  U   Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/README.txt
  U   Products.SQLAlchemyDA/trunk/setup.py

-=-
Modified: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/CHANGES.txt
===================================================================
--- Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/CHANGES.txt	2008-03-12 11:11:31 UTC (rev 84610)
+++ Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/CHANGES.txt	2008-03-12 11:21:46 UTC (rev 84611)
@@ -1,52 +1,44 @@
 0.4.0 (unreleased)
+------------------
 
-    - using z3c.sqlalchemy (1.1.0 or higher)
+- using z3c.sqlalchemy (1.1.0 or higher)
+- required SQLAlchemy 0.4.0 or higer
 
-    - required SQLAlchemy 0.4.0 or higer
 
-
 0.3.0 (10.06.2007)
+------------------
 
-    - fixed some security assertions
+- fixed some security assertions
+- added "Test" tab for executing SQL queries directly
+- better error handling for ZMI screens
+- no longer depending on a pre-registered SQLAlchemy wrapper. SQLAlchemyDA
+  now accepts (as any other DA) a DSN as property 'dsn'
+- DSN can be passed through the add form
+- redirect directly to "Info" tab after creating an instance through the ZMI
+- catching some low-level exceptions from the sqlite interface in order to
+  make it work with SQLite
+- new properties 'transactional' and 'quoting_style'
+- improved support for Oracle and MySQL
+- SQLAlchemyDA no longer provides access to mapper related functionalities.
+  It now acts as a DA for executing SQL statements *only*.
+- fixed unregistration code for a wrapper (hopefully works with Zope 2.8 or
+  higher)
 
-    - added "Test" tab for executing SQL queries directly
+- updated documentation
 
-    - better error handling for ZMI screens
-
-    - no longer depending on a pre-registered SQLAlchemy wrapper. SQLAlchemyDA
-      now accepts (as any other DA) a DSN as property 'dsn'
-
-    - DSN can be passed through the add form
-
-    - redirect directly to "Info" tab after creating an instance through the ZMI
-
-    - catching some low-level exceptions from the sqlite interface in order to
-      make it work with SQLite
-
-    - new properties 'transactional' and 'quoting_style'
-
-    - improved support for Oracle and MySQL
-
-    - SQLAlchemyDA no longer provides access to mapper related functionalities.
-      It now acts as a DA for executing SQL statements *only*.
-
-    - fixed unregistration code for a wrapper (hopefully works with Zope 2.8 or
-      higher)
-
-    - updated documentation
-
 0.2.1 (06.05.2007)
+------------------
 
-    - connections can be closed/opened through the ZMI
+- connections can be closed/opened through the ZMI
+- some code cleanup
+- fixed a *very* stupid typo causing ZODB conflict errors
 
-    - some code cleanup
-
-    - fixed a *very* stupid typo causing ZODB conflict errors
- 
 0.2.0 (05.05.2007)
+------------------
 
-    - first public release
+- first public release
 
 0.1.0 (30.04.2007)
+------------------
 
-    - initial coding
+- initial coding

Modified: Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/README.txt
===================================================================
--- Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/README.txt	2008-03-12 11:11:31 UTC (rev 84610)
+++ Products.SQLAlchemyDA/trunk/Products/SQLAlchemyDA/README.txt	2008-03-12 11:21:46 UTC (rev 84611)
@@ -13,40 +13,38 @@
 Requirements:
 -------------
 
-  - Zope 2.8 +
+- Zope 2.8 +
+- SQLAlchemy 0.3.8 (+ database specific low-level Python drivers)
+- z3c.sqlalchemy 1.0.4 +
 
-  - SQLAlchemy 0.3.8 (+ database specific low-level Python drivers)
 
-  - z3c.sqlalchemy 1.0.4 +
-
-
 Installation:
 -------------
 
-  - download and install SQLAlchemy as egg or from the sources
-    from Cheeseshop (easy_install sqlalchemy). See
+- download and install SQLAlchemy as egg or from the sources
+  from Cheeseshop (easy_install sqlalchemy). See
     
     http://www.sqlalchemy.org
 
     for details
 
-  - download and install z3c.sqlalchemy as egg or from the sources 
-    from Cheeseshop (easy_install z3c.sqlalchemy). See
+- download and install z3c.sqlalchemy as egg or from the sources 
+  from Cheeseshop (easy_install z3c.sqlalchemy). See
 
     http://cheeseshop.python.org/pypi/z3c.sqlalchemy/
 
-    for details.
+  for details.
 
-  - unpack the archive containing SQLAlchemyDA inside the "Products"
-    directory of your Zope instance home.
+- unpack the archive containing SQLAlchemyDA inside the "Products"
+  directory of your Zope instance home.
 
-  - after restarting Zope you go to the ZMI and create an instance of
-    "SQLAlchemyDA" (as you would create some DA instance)
+- after restarting Zope you go to the ZMI and create an instance of
+  "SQLAlchemyDA" (as you would create some DA instance)
 
-  - click on the new created SQLAlchemyDA instance within the ZMI
-    and configure your database connection through the "Properties" tab.
-    The connection parameter 'dsn' must be specified as a valid SQLAlchemy DSN 
-    like
+- click on the new created SQLAlchemyDA instance within the ZMI
+  and configure your database connection through the "Properties" tab.
+  The connection parameter 'dsn' must be specified as a valid SQLAlchemy DSN 
+  like
 
          <dbschema>://<username>:<password>@<hostname>/<databasename>
 
@@ -54,51 +52,49 @@
         
         postgres://admin:123@localhost:5432/TestDB
 
-  - ZSQL methods should see the new DA through the selection widget of available
-    database adapters
+- ZSQL methods should see the new DA through the selection widget of available
+  database adapters
 
-  - NOTE: you must have the low-level Python DB drivers installed in order to 
-    access a particular database. See 
+- NOTE: you must have the low-level Python DB drivers installed in order to 
+  access a particular database. See 
 
         http://www.sqlalchemy.org/docs/dbengine.html#dbengine_supported
 
-    for details.
+  for details.
 
 
 Configuration of SQLAlchemyDA:
 ------------------------------
 
-   - 'dsn' - SQLAlchemy compliant Database Set Name (see www.sqlalchemy.org/docs)
+- 'dsn' - SQLAlchemy compliant Database Set Name (see www.sqlalchemy.org/docs)
 
-   - 'transactional' - uncheck this property if you are working with a non-transactional
-     database like older versions of MySQL. Uncheck this property *only* if you see any
-     commit() related error. Otherwise leave this property checked. Changing this
-     property *requires* a Zope restart.
+- 'transactional' - uncheck this property if you are working with a non-transactional
+   database like older versions of MySQL. Uncheck this property *only* if you see any
+   commit() related error. Otherwise leave this property checked. Changing this
+   property *requires* a Zope restart.
 
-   - 'quoting_style' - affects how strings are quoted in SQL. By default 'standard' 
-     quotes strings correctly. Setting the value to 'no-quote' might solve quoting issues
-     with some databases.
+- 'quoting_style' - affects how strings are quoted in SQL. By default 'standard' 
+   quotes strings correctly. Setting the value to 'no-quote' might solve quoting issues
+   with some databases.
 
 
 Using SQLAlchemyDA:
 -------------------
 
-    SQLAlchemyDA works as a database adapter as documented within "The Zope Book"
+SQLAlchemyDA works as a database adapter as documented within "The Zope Book"
 
-    http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx
+http://www.plope.com/Books/2_7Edition/RelationalDatabases.stx
 
-    and can be used like any other DA together with ZSQL methods.
+and can be used like any other DA together with ZSQL methods.
 
 
 Tested with databases:
 ----------------------
 
-    - Postgres 7.4, 8.0-8.2
-
-    - SQLite 3.3.X
-
-    - MySQL is *only* supported for MySQL databases with transaction support.
-      (see also z3c/sqlalchemy/README.txt)      
+- Postgres 7.4, 8.0-8.2
+- SQLite 3.3.X
+- MySQL is *only* supported for MySQL databases with transaction support.
+  (see also z3c/sqlalchemy/README.txt)      
  
 
 Known issues:

Modified: Products.SQLAlchemyDA/trunk/setup.py
===================================================================
--- Products.SQLAlchemyDA/trunk/setup.py	2008-03-12 11:11:31 UTC (rev 84610)
+++ Products.SQLAlchemyDA/trunk/setup.py	2008-03-12 11:21:46 UTC (rev 84611)
@@ -16,10 +16,13 @@
 version = '0.4.0'
 
 readme_file= os.path.join('Products', 'SQLAlchemyDA', 'README.txt')
+changes_file = os.path.join('Products', 'SQLAlchemyDA', 'CHANGES.txt')
 desc = open(readme_file).read().strip()
+changes = open(changes_file).read().strip()
 
-long_description = desc 
+long_description = desc  + "\n\nCHANGES\n=======\n\n" + changes
 
+print long_description
 
 setup(name='Products.SQLAlchemyDA',
       version=version,



More information about the Checkins mailing list