[Checkins] SVN: zope.app.wsgi/trunk/ Add README as long_description

Philipp von Weitershausen philikon at philikon.de
Fri Sep 14 13:01:12 EDT 2007


Log message for revision 79644:
  Add README as long_description
  

Changed:
  A   zope.app.wsgi/trunk/README.txt
  U   zope.app.wsgi/trunk/setup.py

-=-
Added: zope.app.wsgi/trunk/README.txt
===================================================================
--- zope.app.wsgi/trunk/README.txt	                        (rev 0)
+++ zope.app.wsgi/trunk/README.txt	2007-09-14 17:01:11 UTC (rev 79644)
@@ -0,0 +1,37 @@
+This package provides the ``WSGIPublisherApplication`` class which
+exposes the object publishing machinery in ``zope.publisher`` as a
+WSGI application.  It also lets us bring up the Zope application
+server (parsing ``zope.conf`` and ``site.zcml``) with a mere function
+call::
+
+    >>> db = zope.app.wsgi.config('zope.conf')
+
+This is especially useful for debugging.
+
+To bring up Zope and obtain the WSGI application object at the same,
+use the ``getWSGIApplication`` function.  Here's an example of a
+factory a la PasteDeploy_::
+
+    def application_factory(global_conf):
+        zope_conf = os.path.join(global_conf['here'], 'zope.conf')
+        return zope.app.wsgi.getWSGIApplication(zope_conf)
+
+.. _PasteDeploy: http://pythonpaste.org/deploy/
+
+
+Changes
+=======
+
+3.4.0 (2007-09-14)
+------------------
+
+* Fixed the tests to run on Python 2.5 as well as Python 2.4.
+
+* Split ``getApplication`` into ``config`` and ``getApplication`` so
+  that ``config`` could be reused, for example for debugging.
+
+3.4.0a1 (2007-04-22)
+--------------------
+
+Initial release as a separate project, corresponds to zope.app.wsgi
+from Zope 3.4.0a1


Property changes on: zope.app.wsgi/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: zope.app.wsgi/trunk/setup.py
===================================================================
--- zope.app.wsgi/trunk/setup.py	2007-09-14 16:59:04 UTC (rev 79643)
+++ zope.app.wsgi/trunk/setup.py	2007-09-14 17:01:11 UTC (rev 79644)
@@ -22,6 +22,7 @@
       url='http://pypi.python.org/pypi/zope.app.wsgi',
       license='ZPL 2.1',
       description='WSGI application for the zope.publisher',
+      long_description=open('README.txt').read(),
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
       packages=find_packages('src'),



More information about the Checkins mailing list