[Checkins] SVN: zope.publisher/trunk/ Moved to GitHub.

Stephen Richter cvs-admin at zope.org
Fri Feb 22 05:22:15 UTC 2013


Log message for revision 129629:
  Moved to GitHub.

Changed:
  D   zope.publisher/trunk/CHANGES.txt
  D   zope.publisher/trunk/COPYRIGHT.txt
  D   zope.publisher/trunk/LICENSE.txt
  D   zope.publisher/trunk/MANIFEST.in
  A   zope.publisher/trunk/MOVED_TO_GITHUB
  D   zope.publisher/trunk/README.txt
  D   zope.publisher/trunk/bootstrap.py
  D   zope.publisher/trunk/buildout.cfg
  D   zope.publisher/trunk/setup.py
  D   zope.publisher/trunk/src/
  D   zope.publisher/trunk/tox.ini

-=-
Deleted: zope.publisher/trunk/CHANGES.txt
===================================================================
--- zope.publisher/trunk/CHANGES.txt	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/CHANGES.txt	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,413 +0,0 @@
-CHANGES
-=======
-
-4.0.0a1 (2013-02-21)
---------------------
-
-- Replaced deprecated ``zope.component.adapts`` usage with equivalent
-  ``zope.component.adapter`` decorator.
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
-  ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4, 2.5 and pypy.
-
-- Support for Python 3.3 added
-
-- Wrap ``with interaction()`` in try/finally.
-
-- Don't guess the content type with 304 responses which MUST NOT /
-  SHOULD NOT include it according to:
-  http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3.5
-
-  Unfortunately, the content type will still be guessed if the result is
-  set before the status.
-
-3.13.0 (2011-11-17)
--------------------
-
-- Fix error when no charset matches form data and HTTP_ACCEPT_CHARSET contains a ``*``.
-- Add test convenience helper ``create_interaction`` and ``with interaction()``.
-
-
-3.12.6 (2010-12-17)
--------------------
-
-- Uploading a non-CRLF version to pypi.
-
-
-3.12.5 (2010-12-14)
--------------------
-
-- Renamed the ``tests`` extra to ``test``.
-
-- Added a test for our own configure.zcml.
-
-- As per W3C spec UTF-8 will be the charset if the browser does not set a header.
-
-3.12.4 (2010-07-15)
--------------------
-
-- LP #131460: Make principal logging unicode safe.
-- Remove use of string exceptions in tests, http://bugs.debian.org/585343
-- Add IStartRequestEvent and StartRequestEvent for using in
-  zope.app.publication (matching up with IEndRequestEvent and EndRequestEvent).
-  This included refactoring to produce one definition of 'event with a request'
-  - IRequestEvent.
-
-3.12.3 (2010-04-30)
--------------------
-
-- LP #209440: Don't obscure original exception when handling retries
-  in ``publish.publish()`` with ``handleErrors == False``.   This change
-  makes debugging such exception in unit tests easier.
-  Thanks to James Henstridge for the patch.
-
-- LP #98395: allow unicode output of XML content whose mimetype does not
-  begin with ``text/``, per RFC 3023 as well as for content types ending
-  in ``+xml`` such as Mozilla XUL's ``application/vnd+xml``.  Thanks to
-  Justin Ryan for the patch.
-
-3.12.2 (2010-04-16)
--------------------
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest'.
-
-- Fixed bug where xml-rpc requests would hang when served using
-  paster.httpserver.
-
-3.12.1 (2010-02-21)
--------------------
-
-- BaseRequest.traverse should not call traversal hooks on elements
-  previously traversed but wrapped in a security Proxy.
-
-3.12.0 (2009-12-31)
--------------------
-
-- Reverted change done in 3.6.2. The zope.authentication dependency has been
-  removed again. The BasicAuthAdapter and FTPAuth adapters are now found in
-  the new zope.login package.
-
-3.11.0 (2009-12-15)
--------------------
-
-- Moved EndRequestEvent and IEndRequestEvent from zope.app.publication into
-  this package.
-
-3.10.1 (2009-11-28)
--------------------
-
-- Version 3.10.0 needs at least version 3.5 of zope.contenttype but it
-  did not declare it.
-
-3.10.0 (2009-10-22)
--------------------
-
-- Moved the implementation of zope.publisher.contenttype to
-  zope.contenttype.parse, leaving BBB imports and moving tests along.
-  zope.contenttype is a new but light-weight dependency of this package.
-
-- Supported Python 2.6 by keeping QUERY_STRING out of request.form if
-  the method is a POST.  The original QUERY_STRING is still available if
-  further processing is needed.
-
-- Better supported the zcml ``defaultSkin`` directive's behavior (registering
-  an interface as a default skin) in the ``setDefaultSkin`` function.
-
-3.9.3 (2009-10-08)
-------------------
-
-- Fixed the check for untrusted redirects introduced in 3.9.0 so it works with
-  virtual hosting.
-
-3.9.2 (2009-10-07)
-------------------
-
-- Make redirect validation works without HTTP_HOST variable.
-
-- Add DoNotReRaiseException adapter that can be registered
-  for exceptions to flag that they should not be re-raised by
-  publisher when ``handle_errors`` parameter of the ``publish``
-  method is False.
-
-3.9.1 (2009-09-01)
-------------------
-
-- Convert a location, passed to a redirect method of HTTPRequest to
-  string before checking for trusted host redirection, because a
-  location object may be some non-string convertable to string, like
-  URLGetter.
-
-3.9.0 (2009-08-27)
-------------------
-
-- Some parts of zope.app.publisher packages was moved into this package
-  during zope.app.publisher refactoring:
-
-   * IModifiableUserPreferredLanguages adapter for requests
-   * browser:defaultView and browser:defaultSkin ZCML directives
-   * IHTTPView, IXMLRPCView and like interfaces
-   * security ZCML declarations for some of zope.publisher classes
-
-- Introduced ``IReRaiseException`` interface. If during publishing an
-  exception occurs and for this exception an adapter is available that
-  returns ``False`` on being called, the exception won't be reraised
-  by the publisher. This happens only if ``handle_errors`` parameter
-  of the ``publish()`` method is set to ``False``. Fixes problems when
-  acting in a WSGI pipeline with a debugger middleware enabled.
-
-  See https://bugs.launchpad.net/grok/+bug/332061 for details.
-
-- Fix #98471: Restrict redirects to current host. This causes a ValueError to
-  be raised in the case of redirecting to a different host. If this is
-  intentional, the parameter `trusted` can be given.
-
-- Moved dependency on zope.testing from install_requires to tests_require.
-
-- Removed behavior of doing a time.sleep in the supportsRetry http request.
-
-- Add a fix for Internet Explorer versions that upload files will full
-  filesystem paths as filenames.
-
-3.8.0 (2009-05-23)
-------------------
-
-- Moved IHTTPException, IMethodNotAllowed, and MethodNotAllowed from
-  zope.app.http to zope.publisher.interfaces.http, fixing dependency
-  cycles involving zope.app.http.
-
-- Moved the DefaultViewName API from zope.app.publisher.browser to
-  zope.publisher.defaultview, making it accessible to other packages
-  that need it.
-
-3.7.0 (2009-05-13)
-------------------
-
-- Move ``IView`` and ``IBrowserView`` interfaces into
-  ``zope.browser.interfaces``, leaving BBB imports.
-
-3.6.4 (2009-04-26)
-------------------
-
-- Added some BBB code to setDefaultSkin to allow IBrowserRequest's to continue
-  to work without configuring any special adapter for IDefaultSkin.
-
-- Move `getDefaultSkin` to the skinnable module next to the `setDefaultSkin`
-  method, leaving a BBB import in place. Mark `IDefaultBrowserLayer` as a
-  `IBrowserSkinType` in code instead of relying on the ZCML to be loaded.
-
-3.6.3 (2009-03-18)
-------------------
-
-- Mark HTTPRequest as IAttributeAnnotatable if ``zope.annotation`` is
-  available, this was previously done by ``zope.app.i18n``.
-
-- Register `IHTTPRequest` -> `IUserPreferredCharsets` adapter in ZCML
-  configuration. This was also previously done by ``zope.app.i18n``.
-
-3.6.2 (2009-03-14)
-------------------
-
-- Add an adapter from ``zope.security.interfaces.IPrincipal`` to
-  ``zope.publisher.interfaces.logginginfo.ILoggingInfo``. It was moved
-  from ``zope.app.security`` as a part of refactoring process.
-
-- Add adapters from HTTP and FTP request to
-  ``zope.authentication.ILoginPassword`` interface. They are moved from
-  ``zope.app.security`` as a part of refactoring process. This change adds a
-  dependency on the ``zope.authentication`` package, but it's okay, since it's
-  a tiny contract definition-only package.
-
-  See http://mail.zope.org/pipermail/zope-dev/2009-March/035325.html for
-  reasoning.
-
-3.6.1 (2009-03-09)
-------------------
-
-- Fix: remove IBrowserRequest dependency in http implementation based on
-  condition for setDefaultSkin. Use ISkinnable instead of IBrowserRequest.
-
-3.6.0 (2009-03-08)
-------------------
-
-- Clean-up: Move skin related code from zope.publisher.interfaces.browser and
-  zope.publisher.browser to zope.publihser.interfaces and
-  zope.publisher.skinnable and provide BBB imports. See skinnable.txt for more
-  information.
-
-- Fix: ensure that we only apply skin interface in setDefaultSkin which also
-  provide IBrowserSkinType. This will ensure that we find a skin if the
-  applySkin method will lookup for a skin based on this type interface.
-
-- Fix: Make it possible to use adapters and not only interfaces as skins from
-  the adapter registry. Right now the defaultSkin directive registers simple
-  interfaces as skin adapters which will run into a TypeError if someone tries
-  to adapter such a skin adapter. Probably we should change the defaultSkin
-  directive and register real adapters instead of using the interfaces as fake
-  adapters where we expect adapter factories.
-
-- Feature: allow to use applySkin with different skin types using the optional
-  argument skinType which is by default set to IBrowserSkinType
-
-- Feature: implemented the default skin pattern within adapters. This allows
-  us to register default skins for other requests then only IBrowserRequest
-  using IDefaultSkin adapters.
-
-  Note, ISkinnable and ISkinType and the skin implementation should be moved
-  out of the browser request modules. Packages like z3c.jsonrpc do not depend
-  on IBrowserRequest but they are skinnable.
-
-- Feature: added ISkinnable interface which allows us to implement the apply
-  skin pattern not only for IBrowserRequest
-
-- Fix: Don't cause warnings on Python 2.6
-
-- Fix: Make IBrowserPage inherit IBrowserView.
-
-- Move IView and IDefaultViewName from zope.component.interfaces to
-  zope.publisher.interfaces. Stop inheriting from deprecated (for years)
-  interfaces defined in zope.component.
-
-- Remove deprecated code.
-
-- Clean-up: Move "zope.testing" from extras to dependencies, per Zope
-  Framework policy.  Remove zope.app.testing as a dependency: tests run fine
-  without it.
-
-3.5.6 (2009-02-14)
-------------------
-
-Bugs fixed:
-
-* An untested code path that incorrectly attempted to construct a NotFound was
-  fixed, with a test.
-
-
-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

Deleted: zope.publisher/trunk/COPYRIGHT.txt
===================================================================
--- zope.publisher/trunk/COPYRIGHT.txt	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/COPYRIGHT.txt	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file

Deleted: zope.publisher/trunk/LICENSE.txt
===================================================================
--- zope.publisher/trunk/LICENSE.txt	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/LICENSE.txt	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,44 +0,0 @@
-Zope Public License (ZPL) Version 2.1
-
-A copyright notice accompanies this license document that identifies the
-copyright holders.
-
-This license has been certified as open source. It has also been designated as
-GPL compatible by the Free Software Foundation (FSF).
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions in source code must retain the accompanying copyright
-notice, this list of conditions, and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the accompanying copyright
-notice, this list of conditions, and the following disclaimer in the
-documentation and/or other materials provided with the distribution.
-
-3. Names of the copyright holders must not be used to endorse or promote
-products derived from this software without prior written permission from the
-copyright holders.
-
-4. The right to distribute this software or to use it for any purpose does not
-give you the right to use Servicemarks (sm) or Trademarks (tm) of the
-copyright
-holders. Use of them is covered by separate agreement with the copyright
-holders.
-
-5. If any files are modified, you must cause the modified files to carry
-prominent notices stating that you changed the files and the date of any
-change.
-
-Disclaimer
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
-OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
-EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
-PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
-LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
-NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
-EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Deleted: zope.publisher/trunk/MANIFEST.in
===================================================================
--- zope.publisher/trunk/MANIFEST.in	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/MANIFEST.in	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,9 +0,0 @@
-include *.rst
-include *.txt
-include tox.ini
-include bootstrap.py
-include buildout.cfg
-
-recursive-include src *
-
-global-exclude *.pyc

Added: zope.publisher/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.publisher/trunk/MOVED_TO_GITHUB	                        (rev 0)
+++ zope.publisher/trunk/MOVED_TO_GITHUB	2013-02-22 05:22:14 UTC (rev 129629)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.publisher
\ No newline at end of file

Deleted: zope.publisher/trunk/README.txt
===================================================================
--- zope.publisher/trunk/README.txt	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/README.txt	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,6 +0,0 @@
-zope.publisher allows you to publish Python objects on the web.  It
-has support for plain HTTP/WebDAV clients, web browsers as well as
-XML-RPC and FTP clients.  Input and output streams are represented by
-request and response objects which allow for easy client interaction
-from Python.  The behaviour of the publisher is geared towards WSGI
-compatibility.

Deleted: zope.publisher/trunk/bootstrap.py
===================================================================
--- zope.publisher/trunk/bootstrap.py	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/bootstrap.py	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,165 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation 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.
-"""
-
-import os, shutil, sys, tempfile
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-usage = '''\
-[DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
-
-Bootstraps a buildout-based project.
-
-Simply run this script in a directory containing a buildout.cfg, using the
-Python that you want bin/buildout to use.
-
-Note that by using --setup-source and --download-base to point to
-local resources, you can keep this script from going over the network.
-'''
-
-parser = OptionParser(usage=usage)
-parser.add_option("-v", "--version", help="use a specific zc.buildout version")
-
-parser.add_option("-t", "--accept-buildout-test-releases",
-                  dest='accept_buildout_test_releases',
-                  action="store_true", default=False,
-                  help=("Normally, if you do not specify a --version, the "
-                        "bootstrap script and buildout gets the newest "
-                        "*final* versions of zc.buildout and its recipes and "
-                        "extensions for you.  If you use this flag, "
-                        "bootstrap and buildout will get the newest releases "
-                        "even if they are alphas or betas."))
-parser.add_option("-c", "--config-file",
-                   help=("Specify the path to the buildout configuration "
-                         "file to be used."))
-parser.add_option("-f", "--find-links",
-                   help=("Specify a URL to search for buildout releases"))
-
-
-options, args = parser.parse_args()
-
-######################################################################
-# load/install distribute
-
-to_reload = False
-try:
-    import pkg_resources, setuptools
-    if not hasattr(pkg_resources, '_distribute'):
-        to_reload = True
-        raise ImportError
-except ImportError:
-    ez = {}
-
-    try:
-        from urllib.request import urlopen
-    except ImportError:
-        from urllib2 import urlopen
-
-    exec(urlopen('http://python-distribute.org/distribute_setup.py').read(), ez)
-    setup_args = dict(to_dir=tmpeggs, download_delay=0, no_fake=True)
-    ez['use_setuptools'](**setup_args)
-
-    if to_reload:
-        reload(pkg_resources)
-    import pkg_resources
-    # This does not (always?) update the default working set.  We will
-    # do it.
-    for path in sys.path:
-        if path not in pkg_resources.working_set.entries:
-            pkg_resources.working_set.add_entry(path)
-
-######################################################################
-# Install buildout
-
-ws  = pkg_resources.working_set
-
-cmd = [sys.executable, '-c',
-       'from setuptools.command.easy_install import main; main()',
-       '-mZqNxd', tmpeggs]
-
-find_links = os.environ.get(
-    'bootstrap-testing-find-links',
-    options.find_links or
-    ('http://downloads.buildout.org/'
-     if options.accept_buildout_test_releases else None)
-    )
-if find_links:
-    cmd.extend(['-f', find_links])
-
-distribute_path = ws.find(
-    pkg_resources.Requirement.parse('distribute')).location
-
-requirement = 'zc.buildout'
-version = options.version
-if version is None and not options.accept_buildout_test_releases:
-    # Figure out the most recent final version of zc.buildout.
-    import setuptools.package_index
-    _final_parts = '*final-', '*final'
-    def _final_version(parsed_version):
-        for part in parsed_version:
-            if (part[:1] == '*') and (part not in _final_parts):
-                return False
-        return True
-    index = setuptools.package_index.PackageIndex(
-        search_path=[distribute_path])
-    if find_links:
-        index.add_find_links((find_links,))
-    req = pkg_resources.Requirement.parse(requirement)
-    if index.obtain(req) is not None:
-        best = []
-        bestv = None
-        for dist in index[req.project_name]:
-            distv = dist.parsed_version
-            if _final_version(distv):
-                if bestv is None or distv > bestv:
-                    best = [dist]
-                    bestv = distv
-                elif distv == bestv:
-                    best.append(dist)
-        if best:
-            best.sort()
-            version = best[-1].version
-if version:
-    requirement = '=='.join((requirement, version))
-cmd.append(requirement)
-
-import subprocess
-if subprocess.call(cmd, env=dict(os.environ, PYTHONPATH=distribute_path)) != 0:
-    raise Exception(
-        "Failed to execute command:\n%s",
-        repr(cmd)[1:-1])
-
-######################################################################
-# Import and run buildout
-
-ws.add_entry(tmpeggs)
-ws.require(requirement)
-import zc.buildout.buildout
-
-if not [a for a in args if '=' not in a]:
-    args.append('bootstrap')
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
-    args[0:0] = ['-c', options.config_file]
-
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)

Deleted: zope.publisher/trunk/buildout.cfg
===================================================================
--- zope.publisher/trunk/buildout.cfg	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/buildout.cfg	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,7 +0,0 @@
-[buildout]
-develop = .
-parts = test
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.publisher[test]

Deleted: zope.publisher/trunk/setup.py
===================================================================
--- zope.publisher/trunk/setup.py	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/setup.py	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,91 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Zope Foundation 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.
-#
-##############################################################################
-# This package is developed by the Zope Toolkit project, documented here:
-# http://docs.zope.org/zopetoolkit
-# When developing and releasing this package, please follow the documented
-# Zope Toolkit policies as described by this documentation.
-##############################################################################
-from setuptools import setup, find_packages
-
-def alltests():
-    import os
-    import sys
-    import unittest
-    # use the zope.testrunner machinery to find all the
-    # test suites we've put under ourselves
-    import zope.testrunner.find
-    import zope.testrunner.options
-    here = os.path.abspath(os.path.join(os.path.dirname(__file__), 'src'))
-    args = sys.argv[:]
-    defaults = ["--test-path", here]
-    options = zope.testrunner.options.get_options(args, defaults)
-    suites = list(zope.testrunner.find.find_suites(options))
-    return unittest.TestSuite(suites)
-
-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 Foundation and Contributors',
-      author_email='zope-dev at zope.org',
-      description='The Zope publisher publishes Python objects on the web.',
-      long_description=(open('README.txt').read()
-                        + '\n\n'
-                        + open('CHANGES.txt').read()),
-      classifiers=[
-        'Development Status :: 5 - Production/Stable',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: Zope Public License',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
-        'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
-        'Programming Language :: Python :: Implementation :: CPython',
-        'Natural Language :: English',
-        'Operating System :: OS Independent',
-        'Topic :: Internet :: WWW/HTTP',
-        ],
-      packages=find_packages('src'),
-      package_dir={'': 'src'},
-      namespace_packages=['zope',],
-      install_requires=['setuptools',
-                        'zope.browser',
-                        'zope.component',
-                        'zope.configuration',
-                        'zope.contenttype >= 3.5',
-                        'zope.event',
-                        'zope.exceptions',
-                        'zope.i18n >= 4.0.0a3',
-                        'zope.interface >= 3.8.0',
-                        'zope.location',
-                        'zope.proxy',
-                        'zope.security >= 4.0.0a1',
-                       ],
-      extras_require={'test': ['zope.testing']},
-      tests_require = ['zope.testing', 'zope.testrunner'],
-      test_suite = '__main__.alltests',
-      entry_points=entry_points,
-      include_package_data=True,
-      zip_safe=False,
-      )

Deleted: zope.publisher/trunk/tox.ini
===================================================================
--- zope.publisher/trunk/tox.ini	2013-02-22 04:59:38 UTC (rev 129628)
+++ zope.publisher/trunk/tox.ini	2013-02-22 05:22:14 UTC (rev 129629)
@@ -1,45 +0,0 @@
-[tox]
-envlist = py26,py27,py33
-
-[testenv]
-commands =
-    python setup.py test -q
-# without explicit deps, setup.py test will download a bunch of eggs into $PWD
-deps =
-    zope.browser
-    zope.component
-    zope.configuration
-    zope.contenttype >= 3.5
-    zope.event
-    zope.exceptions
-    zope.i18n
-    zope.interface
-    zope.location
-    zope.proxy
-    zope.security
-
-[testenv:coverage]
-basepython =
-    python2.7
-commands =
-#   The installed version messes up nose's test discovery / coverage reporting
-#   So, we uninstall that from the environment, and then install the editable
-#   version, before running nosetests.
-    pip uninstall -y zope.publisher
-    pip install -e .
-    nosetests --with-xunit --with-xcoverage
-deps =
-    nose
-    coverage
-    nosexcover
-    zope.browser
-    zope.component
-    zope.configuration
-    zope.contenttype >= 3.5
-    zope.event
-    zope.exceptions
-    zope.i18n
-    zope.interface
-    zope.location
-    zope.proxy
-    zope.security



More information about the checkins mailing list