[Checkins] SVN: Sandbox/shane/republish/zope.publisher/ brought in zope.publisher package metadata

Shane Hathaway shane at hathawaymix.org
Sat Feb 14 16:07:52 EST 2009


Log message for revision 96548:
  brought in zope.publisher package metadata
  

Changed:
  A   Sandbox/shane/republish/zope.publisher/CHANGES.txt
  A   Sandbox/shane/republish/zope.publisher/README.txt
  A   Sandbox/shane/republish/zope.publisher/bootstrap.py
  A   Sandbox/shane/republish/zope.publisher/buildout.cfg
  A   Sandbox/shane/republish/zope.publisher/setup.py

-=-
Copied: Sandbox/shane/republish/zope.publisher/CHANGES.txt (from rev 96547, Sandbox/shane/republish/old/zope.publisher/CHANGES.txt)
===================================================================
--- Sandbox/shane/republish/zope.publisher/CHANGES.txt	                        (rev 0)
+++ Sandbox/shane/republish/zope.publisher/CHANGES.txt	2009-02-14 21:07:51 UTC (rev 96548)
@@ -0,0 +1,137 @@
+CHANGES
+=======
+
+4.0.0 (unreleased)
+------------------
+
+* Reduced the zope.publisher package to contain only interfaces and
+  some minimal base classes.  The implementation moved to zope.pipeline.
+
+
+3.5.5 (2009-02-04)
+------------------
+
+* LP #322486: setStatus() now allows any int()-able status value.
+
+
+3.5.4 (2008-09-22)
+------------------
+
+Bugs fixed:
+
+* LP #98440: interfaces lost on retried request
+
+* LP #273296: dealing more nicely with malformed HTTP_ACCEPT_LANGUAGE headers
+  within getPreferredLanguages().
+
+* LP #253362: dealing more nicely with malformed HTTP_ACCEPT_CHARSET headers
+  within getPreferredCharsets().
+
+* LP #98284: Pass the ``size`` argument to readline, as the version of
+  twisted used in zope.app.twisted supports it.
+
+* Fix the LP #98284 fix: do not pass ``size`` argument of None that causes
+  cStringIO objects to barf with a TypeError.
+
+
+3.5.3 (2008-06-20)
+------------------
+
+Bugs fixed:
+
+* It turns out that some Web servers (Paste for example) do not send the EOF
+  character after the data has been transmitted and the read() of the cached
+  stream simply hangs if no expected content length has been specified.
+
+
+3.5.2 (2008-04-06)
+------------------
+
+Bugs fixed:
+
+* A previous fix to handle posting of non-form data broke handling of
+  form data with extra information in the content type, as in::
+
+    application/x-www-form-urlencoded; charset=UTF-8
+
+3.5.1 (2008-03-23)
+------------------
+
+Bugs fixed:
+
+* When posting non-form (and non-multipart) data, the request body was
+  consumed and discarded. This makes it impossible to deal with other
+  post types, like xml-rpc or json without resorting to overly complex
+  "request factory" contortions.
+
+* https://bugs.launchpad.net/zope2/+bug/143873
+
+  The zope.publisher.http.HTTPCharsets was confused by the Zope 2
+  publisher, which gives missleading information about which headers
+  it has.
+
+3.5.0 (2008-03-02)
+------------------
+
+Features added:
+
+* Added a PasteDeploy app_factory implementation.  This should make
+  it easier to integrate Zope 3 applications with PasteDeploy.  It
+  also makes it easier to control the publication used, giving far
+  greater control over application policies (e.g. whether or not to
+  use the ZODB).
+
+3.4.2 (2007-12-07)
+------------------
+
+* Made segmentation of URLs not strip (trailing) whitespace from path segments
+  to allow URLs ending in %20 to be handled correctly. (#172742)
+
+3.4.1 (2007-09-29)
+------------------
+
+No changes since 3.4.1b2.
+
+3.4.1b2 (2007-08-02)
+--------------------
+
+* zope.publisher now works on Python 2.5.
+
+* Fix a problem with request.get() when the object that's to be
+  retrieved is the request itself.
+
+
+3.4.1b1 (2007-07-13)
+--------------------
+
+No changes.
+
+
+3.4.0b2 (2007-07-05)
+--------------------
+
+* Fix https://bugs.launchpad.net/zope3/+bug/122054:  
+  HTTPInputStream understands both the CONTENT_LENGTH and
+  HTTP_CONTENT_LENGTH environment variables. It is also now tolerant
+  of empty strings and will treat those as if the variable were
+  absent.
+
+
+3.4.0b1 (2007-07-05)
+--------------------
+
+* Fix caching issue. The input stream never got cached in a temp file 
+  because of a wrong content-length header lookup. Added CONTENT_LENGTH 
+  header check in addition to the previous used HTTP_CONTENT_LENGTH. The 
+  ``HTTP_`` prefix is sometimes added by some CGI proxies, but CONTENT_LENGTH
+  is the right header info for the size.
+
+* Fix https://bugs.launchpad.net/zope3/+bug/98413:
+  HTTPResponse.handleException should set the content type
+
+
+3.4.0a1 (2007-04-22)
+--------------------
+
+Initial release as a separate project, corresponds to zope.publisher
+from Zope 3.4.0a1


Property changes on: Sandbox/shane/republish/zope.publisher/CHANGES.txt
___________________________________________________________________
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native

Copied: Sandbox/shane/republish/zope.publisher/README.txt (from rev 96547, Sandbox/shane/republish/old/zope.publisher/README.txt)
===================================================================
--- Sandbox/shane/republish/zope.publisher/README.txt	                        (rev 0)
+++ Sandbox/shane/republish/zope.publisher/README.txt	2009-02-14 21:07:51 UTC (rev 96548)
@@ -0,0 +1,7 @@
+The zope.publisher package provides interfaces and base classes for
+publishing Python objects on the web.  The interfaces support plain
+HTTP/WebDAV clients, web browsers, XML-RPC, and FTP clients.
+The interfaces are geared towards WSGI compatibility.
+
+The implementation portion of this package has moved to the
+``zope.pipeline`` package.


Property changes on: Sandbox/shane/republish/zope.publisher/README.txt
___________________________________________________________________
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native

Copied: Sandbox/shane/republish/zope.publisher/bootstrap.py (from rev 96547, Sandbox/shane/republish/old/zope.publisher/bootstrap.py)
===================================================================
--- Sandbox/shane/republish/zope.publisher/bootstrap.py	                        (rev 0)
+++ Sandbox/shane/republish/zope.publisher/bootstrap.py	2009-02-14 21:07:51 UTC (rev 96548)
@@ -0,0 +1,52 @@
+##############################################################################
+#
+# Copyright (c) 2006 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.
+#
+##############################################################################
+"""Bootstrap a buildout-based project
+
+Simply run this script in a directory containing a buildout.cfg.
+The script accepts buildout command-line options, so you can
+use the -c option to specify an alternate configuration file.
+
+$Id$
+"""
+
+import os, shutil, sys, tempfile, urllib2
+
+tmpeggs = tempfile.mkdtemp()
+
+ez = {}
+exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+                     ).read() in ez
+ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
+
+import pkg_resources
+
+cmd = 'from setuptools.command.easy_install import main; main()'
+if sys.platform == 'win32':
+    cmd = '"%s"' % cmd # work around spawn lamosity on windows
+
+ws = pkg_resources.working_set
+assert os.spawnle(
+    os.P_WAIT, sys.executable, sys.executable,
+    '-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
+    dict(os.environ,
+         PYTHONPATH=
+         ws.find(pkg_resources.Requirement.parse('setuptools')).location
+         ),
+    ) == 0
+
+ws.add_entry(tmpeggs)
+ws.require('zc.buildout')
+import zc.buildout.buildout
+zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
+shutil.rmtree(tmpeggs)


Property changes on: Sandbox/shane/republish/zope.publisher/bootstrap.py
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native

Copied: Sandbox/shane/republish/zope.publisher/buildout.cfg (from rev 96547, Sandbox/shane/republish/old/zope.publisher/buildout.cfg)
===================================================================
--- Sandbox/shane/republish/zope.publisher/buildout.cfg	                        (rev 0)
+++ Sandbox/shane/republish/zope.publisher/buildout.cfg	2009-02-14 21:07:51 UTC (rev 96548)
@@ -0,0 +1,23 @@
+[buildout]
+develop = .
+parts = test python coverage-test coverage-report
+
+[test]
+recipe = zc.recipe.testrunner
+eggs = zope.publisher [test]
+
+[python]
+recipe = zc.recipe.egg
+eggs = zope.publisher
+interpreter = python
+
+[coverage-test]
+recipe = zc.recipe.testrunner
+eggs = zope.publisher
+defaults = ['--coverage', '../../coverage']
+
+[coverage-report]
+recipe = zc.recipe.egg
+eggs = z3c.coverage
+scripts = coverage=coverage-report
+arguments = ('coverage', 'coverage/report')


Property changes on: Sandbox/shane/republish/zope.publisher/buildout.cfg
___________________________________________________________________
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native

Copied: Sandbox/shane/republish/zope.publisher/setup.py (from rev 96547, Sandbox/shane/republish/old/zope.publisher/setup.py)
===================================================================
--- Sandbox/shane/republish/zope.publisher/setup.py	                        (rev 0)
+++ Sandbox/shane/republish/zope.publisher/setup.py	2009-02-14 21:07:51 UTC (rev 96548)
@@ -0,0 +1,63 @@
+##############################################################################
+#
+# Copyright (c) 2006 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.
+#
+##############################################################################
+
+import os
+from setuptools import setup, find_packages
+
+#entry_points = """
+#[paste.app_factory]
+#main = zope.publisher.paste:Application
+
+#[zope.publisher.publication_factory]
+#sample = zope.publisher.tests.test_paste:SamplePublication
+#"""
+
+setup(name='zope.publisher',
+      version = '4.0.0dev',
+      url='http://pypi.python.org/pypi/zope.publisher',
+      license='ZPL 2.1',
+      author='Zope Corporation and Contributors',
+      author_email='zope-dev at zope.org',
+      description="Interfaces for publishing Python objects on the web.",
+      long_description=(open('README.txt').read()
+                        + '\n\n'
+                        + open('CHANGES.txt').read()),
+
+      #entry_points = entry_points,
+
+      packages=find_packages('src'),
+      package_dir = {'': 'src'},
+
+      namespace_packages=['zope',],
+      install_requires=['setuptools',
+                        'zope.interface',
+
+                        'zope.component',
+                        'zope.event',
+                        'zope.i18n',
+                        'zope.interface',
+                        'zope.location',
+                        'zope.proxy',
+                        'zope.security',
+                        'zope.deprecation',
+                        'zope.deferredimport',
+                        'zope.httpform',
+                        ],
+      extras_require=dict(
+          test = ['zope.testing'],
+          ),
+      include_package_data = True,
+
+      zip_safe = False,
+      )


Property changes on: Sandbox/shane/republish/zope.publisher/setup.py
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:mergeinfo
   + 
Added: svn:eol-style
   + native



More information about the Checkins mailing list