[Zope3-checkins] SVN: zope. Moved to Github.
Stephen Richter
cvs-admin at zope.org
Tue Feb 19 18:07:04 UTC 2013
Log message for revision 129484:
Moved to Github.
Changed:
D zope.deprecation/trunk/.bzrignore
D zope.deprecation/trunk/CHANGES.txt
D zope.deprecation/trunk/COPYRIGHT.txt
D zope.deprecation/trunk/LICENSE.txt
A zope.deprecation/trunk/MOVED_TO_GITHUB
D zope.deprecation/trunk/README.txt
D zope.deprecation/trunk/bootstrap.py
D zope.deprecation/trunk/buildout.cfg
D zope.deprecation/trunk/docs/
D zope.deprecation/trunk/setup.cfg
D zope.deprecation/trunk/setup.py
D zope.deprecation/trunk/src/
D zope.deprecation/trunk/tox.ini
D zope.event/trunk/.bzrignore
D zope.event/trunk/CHANGES.txt
D zope.event/trunk/COPYRIGHT.txt
D zope.event/trunk/LICENSE.txt
A zope.event/trunk/MOVED_TO_GITHUB
D zope.event/trunk/README.txt
D zope.event/trunk/bootstrap.py
D zope.event/trunk/buildout.cfg
D zope.event/trunk/docs/
D zope.event/trunk/setup.cfg
D zope.event/trunk/setup.py
D zope.event/trunk/src/
D zope.event/trunk/tox.ini
D zope.exceptions/trunk/.bzrignore
D zope.exceptions/trunk/CHANGES.txt
D zope.exceptions/trunk/COPYRIGHT.txt
D zope.exceptions/trunk/LICENSE.txt
D zope.exceptions/trunk/MANIFEST.in
A zope.exceptions/trunk/MOVED_TO_GITHUB
D zope.exceptions/trunk/README.txt
D zope.exceptions/trunk/bootstrap.py
D zope.exceptions/trunk/buildout.cfg
D zope.exceptions/trunk/docs/
D zope.exceptions/trunk/setup.cfg
D zope.exceptions/trunk/setup.py
D zope.exceptions/trunk/src/
D zope.exceptions/trunk/tox.ini
D zope.hookable/trunk/.bzrignore
D zope.hookable/trunk/CHANGES.txt
D zope.hookable/trunk/COPYRIGHT.txt
D zope.hookable/trunk/LICENSE.txt
A zope.hookable/trunk/MOVED_TO_GITHUB
D zope.hookable/trunk/README.txt
D zope.hookable/trunk/bootstrap.py
D zope.hookable/trunk/buildout.cfg
D zope.hookable/trunk/docs/
D zope.hookable/trunk/setup.cfg
D zope.hookable/trunk/setup.py
D zope.hookable/trunk/src/
D zope.hookable/trunk/tox.ini
D zope.i18nmessageid/trunk/.bzrignore
D zope.i18nmessageid/trunk/CHANGES.txt
D zope.i18nmessageid/trunk/COPYRIGHT.txt
D zope.i18nmessageid/trunk/LICENSE.txt
A zope.i18nmessageid/trunk/MOVED_TO_GITHUB
D zope.i18nmessageid/trunk/README.txt
D zope.i18nmessageid/trunk/bootstrap.py
D zope.i18nmessageid/trunk/buildout.cfg
D zope.i18nmessageid/trunk/docs/
D zope.i18nmessageid/trunk/setup.cfg
D zope.i18nmessageid/trunk/setup.py
D zope.i18nmessageid/trunk/src/
D zope.i18nmessageid/trunk/tox.ini
D zope.interface/trunk/.bzrignore
D zope.interface/trunk/CHANGES.txt
D zope.interface/trunk/COPYRIGHT.txt
D zope.interface/trunk/LICENSE.txt
A zope.interface/trunk/MOVED_TO_GITHUB
D zope.interface/trunk/README-better_unittest.txt
D zope.interface/trunk/README.txt
D zope.interface/trunk/bootstrap.py
D zope.interface/trunk/buildout.cfg
D zope.interface/trunk/docs/
D zope.interface/trunk/setup.cfg
D zope.interface/trunk/setup.py
D zope.interface/trunk/src/
D zope.interface/trunk/tox.ini
D zope.location/trunk/.bzrignore
D zope.location/trunk/CHANGES.txt
D zope.location/trunk/COPYRIGHT.txt
D zope.location/trunk/LICENSE.txt
A zope.location/trunk/MOVED_TO_GITHUB
D zope.location/trunk/README.txt
D zope.location/trunk/bootstrap.py
D zope.location/trunk/buildout.cfg
D zope.location/trunk/docs/
D zope.location/trunk/setup.cfg
D zope.location/trunk/setup.py
D zope.location/trunk/src/
D zope.location/trunk/tox.ini
D zope.proxy/trunk/.bzrignore
D zope.proxy/trunk/CHANGES.txt
D zope.proxy/trunk/COPYRIGHT.txt
D zope.proxy/trunk/LICENSE.txt
D zope.proxy/trunk/MANIFEST.in
A zope.proxy/trunk/MOVED_TO_GITHUB
D zope.proxy/trunk/README.txt
D zope.proxy/trunk/bootstrap.py
D zope.proxy/trunk/buildout.cfg
D zope.proxy/trunk/docs/
D zope.proxy/trunk/setup.cfg
D zope.proxy/trunk/setup.py
D zope.proxy/trunk/src/
D zope.proxy/trunk/tox.ini
D zope.schema/trunk/.bzrignore
D zope.schema/trunk/CHANGES.txt
D zope.schema/trunk/COPYRIGHT.txt
D zope.schema/trunk/LICENSE.txt
D zope.schema/trunk/MANIFEST.in
A zope.schema/trunk/MOVED_TO_GITHUB
D zope.schema/trunk/README.txt
D zope.schema/trunk/bootstrap.py
D zope.schema/trunk/buildout.cfg
D zope.schema/trunk/docs/
D zope.schema/trunk/setup.cfg
D zope.schema/trunk/setup.py
D zope.schema/trunk/src/
D zope.schema/trunk/tox.ini
D zope.testing/trunk/.bzrignore
D zope.testing/trunk/CHANGES.txt
D zope.testing/trunk/COPYRIGHT.txt
D zope.testing/trunk/LICENSE.txt
D zope.testing/trunk/MANIFEST.in
A zope.testing/trunk/MOVED_TO_GITHUB
D zope.testing/trunk/README.txt
D zope.testing/trunk/bootstrap.py
D zope.testing/trunk/buildout.cfg
D zope.testing/trunk/setup.py
D zope.testing/trunk/src/
-=-
Deleted: zope.deprecation/trunk/.bzrignore
===================================================================
--- zope.deprecation/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-.coverage
-*.egg-info
-__pycache__
-.tox
-nosetests.xml
-coverage.xml
-_build
Deleted: zope.deprecation/trunk/CHANGES.txt
===================================================================
--- zope.deprecation/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,80 +0,0 @@
-``zope.deprecation`` Changelog
-==============================
-
-4.0.3 (unreleased)
-------------------
-
-- TBD
-
-4.0.2 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-4.0.1 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-4.0.0 (2012-05-16)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Added Sphinx documentation:
-
- - API docs moved from package-data README into ``docs/api.rst``.
-
- - Snippets can be tested by running 'make doctest'.
-
-- Updated support for continuous integration using ``tox`` and ``jenkins``.
-
-- 100% unit test coverage.
-
-- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).
-
-- Removed spurious dependency on ``zope.testing``.
-
-- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
-
-
-3.5.1 (2012-03-15)
-------------------
-
-- Revert a move of `README.txt` to unbreak ``zope.app.apidoc``.
-
-
-3.5.0 (2011-09-05)
-------------------
-
-- Replaced doctesting with unit testing.
-
-- Python 3 compatibility.
-
-
-3.4.1 (2011-06-07)
-------------------
-
-- Removed import cycle for ``__show__`` by defining it in the
- ``zope.deprecation.deprecation`` module.
-
-- Added support to bootstrap on Jython.
-
-- Fix ``zope.deprecation.warn()`` to make the signature identical to
- ``warnings.warn()`` and to check for .pyc and .pyo files.
-
-
-3.4.0 (2007-07-19)
-------------------
-
-- Release 3.4 final, corresponding to Zope 3.4.
-
-
-3.3.0 (2007-02-18)
-------------------
-
-- Corresponds to the version of the ``zope.deprecation`` package shipped as
- part of the Zope 3.3.0 release.
Deleted: zope.deprecation/trunk/COPYRIGHT.txt
===================================================================
--- zope.deprecation/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.deprecation/trunk/LICENSE.txt
===================================================================
--- zope.deprecation/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.deprecation/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.deprecation/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.deprecation/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.deprecation
Deleted: zope.deprecation/trunk/README.txt
===================================================================
--- zope.deprecation/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,8 +0,0 @@
-``zope.deprecation`` README
-===========================
-
-This package provides a simple function called ``deprecated(names, reason)``
-to mark deprecated modules, classes, functions, methods and properties.
-
-Please see http://docs.zope.org/zope.deprecation/ for the documentation.
-
Deleted: zope.deprecation/trunk/bootstrap.py
===================================================================
--- zope.deprecation/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,260 +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, textwrap, urllib, urllib2, subprocess
-from optparse import OptionParser
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- quote = str
-
-# See zc.buildout.easy_install._has_broken_dash_S for motivation and comments.
-stdout, stderr = subprocess.Popen(
- [sys.executable, '-Sc',
- 'try:\n'
- ' import ConfigParser\n'
- 'except ImportError:\n'
- ' print 1\n'
- 'else:\n'
- ' print 0\n'],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
-has_broken_dash_S = bool(int(stdout.strip()))
-
-# In order to be more robust in the face of system Pythons, we want to
-# run without site-packages loaded. This is somewhat tricky, in
-# particular because Python 2.6's distutils imports site, so starting
-# with the -S flag is not sufficient. However, we'll start with that:
-if not has_broken_dash_S and 'site' in sys.modules:
- # We will restart with python -S.
- args = sys.argv[:]
- args[0:0] = [sys.executable, '-S']
- args = map(quote, args)
- os.execv(sys.executable, args)
-# Now we are running with -S. We'll get the clean sys.path, import site
-# because distutils will do it later, and then reset the path and clean
-# out any namespace packages from site-packages that might have been
-# loaded by .pth files.
-clean_path = sys.path[:]
-import site
-sys.path[:] = clean_path
-for k, v in sys.modules.items():
- if k in ('setuptools', 'pkg_resources') or (
- hasattr(v, '__path__') and
- len(v.__path__)==1 and
- not os.path.exists(os.path.join(v.__path__[0],'__init__.py'))):
- # This is a namespace package. Remove it.
- sys.modules.pop(k)
-
-is_jython = sys.platform.startswith('java')
-
-setuptools_source = 'http://peak.telecommunity.com/dist/ez_setup.py'
-distribute_source = 'http://python-distribute.org/distribute_setup.py'
-
-# parsing arguments
-def normalize_to_url(option, opt_str, value, parser):
- if value:
- if '://' not in value: # It doesn't smell like a URL.
- value = 'file://%s' % (
- urllib.pathname2url(
- os.path.abspath(os.path.expanduser(value))),)
- if opt_str == '--download-base' and not value.endswith('/'):
- # Download base needs a trailing slash to make the world happy.
- value += '/'
- else:
- value = None
- name = opt_str[2:].replace('-', '_')
- setattr(parser.values, name, value)
-
-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", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="use_distribute", default=False,
- help="Use Distribute rather than Setuptools.")
-parser.add_option("--setup-source", action="callback", dest="setup_source",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or file location for the setup file. "
- "If you use Setuptools, this will default to " +
- setuptools_source + "; if you use Distribute, this "
- "will default to " + distribute_source +"."))
-parser.add_option("--download-base", action="callback", dest="download_base",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or directory for downloading "
- "zc.buildout and either Setuptools or Distribute. "
- "Defaults to PyPI."))
-parser.add_option("--eggs",
- help=("Specify a directory for storing eggs. Defaults to "
- "a temporary directory that is deleted when the "
- "bootstrap script completes."))
-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", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout's main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.eggs:
- eggs_dir = os.path.abspath(os.path.expanduser(options.eggs))
-else:
- eggs_dir = tempfile.mkdtemp()
-
-if options.setup_source is None:
- if options.use_distribute:
- options.setup_source = distribute_source
- else:
- options.setup_source = setuptools_source
-
-if options.accept_buildout_test_releases:
- args.append('buildout:accept-buildout-test-releases=true')
-args.append('bootstrap')
-
-try:
- import pkg_resources
- import setuptools # A flag. Sometimes pkg_resources is installed alone.
- if not hasattr(pkg_resources, '_distribute'):
- raise ImportError
-except ImportError:
- ez_code = urllib2.urlopen(
- options.setup_source).read().replace('\r\n', '\n')
- ez = {}
- exec ez_code in ez
- setup_args = dict(to_dir=eggs_dir, download_delay=0)
- if options.download_base:
- setup_args['download_base'] = options.download_base
- if options.use_distribute:
- setup_args['no_fake'] = True
- ez['use_setuptools'](**setup_args)
- if 'pkg_resources' in sys.modules:
- reload(sys.modules['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)
-
-cmd = [quote(sys.executable),
- '-c',
- quote('from setuptools.command.easy_install import main; main()'),
- '-mqNxd',
- quote(eggs_dir)]
-
-if not has_broken_dash_S:
- cmd.insert(1, '-S')
-
-find_links = options.download_base
-if not find_links:
- find_links = os.environ.get('bootstrap-testing-find-links')
-if find_links:
- cmd.extend(['-f', quote(find_links)])
-
-if options.use_distribute:
- setup_requirement = 'distribute'
-else:
- setup_requirement = 'setuptools'
-ws = pkg_resources.working_set
-setup_requirement_path = ws.find(
- pkg_resources.Requirement.parse(setup_requirement)).location
-env = dict(
- os.environ,
- PYTHONPATH=setup_requirement_path)
-
-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=[setup_requirement_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)
-
-if is_jython:
- import subprocess
- exitcode = subprocess.Popen(cmd, env=env).wait()
-else: # Windows prefers this, apparently; otherwise we would prefer subprocess
- exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
-if exitcode != 0:
- sys.stdout.flush()
- sys.stderr.flush()
- print ("An error occurred when trying to install zc.buildout. "
- "Look above this message for any errors that "
- "were output by easy_install.")
- sys.exit(exitcode)
-
-ws.add_entry(eggs_dir)
-ws.require(requirement)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-if not options.eggs: # clean up temporary egg directory
- shutil.rmtree(eggs_dir)
Deleted: zope.deprecation/trunk/buildout.cfg
===================================================================
--- zope.deprecation/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,9 +0,0 @@
-[buildout]
-parts = test
-develop = .
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.deprecation
-
-
Deleted: zope.deprecation/trunk/setup.cfg
===================================================================
--- zope.deprecation/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,11 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.deprecation
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.deprecation[testing]
-docs = easy_install zope.deprecation[docs]
-
Deleted: zope.deprecation/trunk/setup.py
===================================================================
--- zope.deprecation/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,66 +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.
-##############################################################################
-"""Setup for zope.deprecation package
-"""
-
-import os
-from setuptools import setup, find_packages
-
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(
- name='zope.deprecation',
- version='4.0.3dev',
- url='http://pypi.python.org/pypi/zope.deprecation',
- license='ZPL 2.1',
- description='Zope Deprecation Infrastructure',
- author='Zope Corporation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=(
- read('README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- "Intended Audience :: Developers",
- "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.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Zope3",
- ],
- package_dir = {'': 'src'},
- packages=find_packages('src'),
- namespace_packages=['zope',],
- install_requires = 'setuptools',
- include_package_data = True,
- zip_safe = False,
- test_suite='zope.deprecation',
- extras_require={
- 'docs': ['Sphinx'],
- 'testing': ['nose', 'coverage'],
- },
-)
Deleted: zope.deprecation/trunk/tox.ini
===================================================================
--- zope.deprecation/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.deprecation/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,38 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.deprecation
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
Deleted: zope.event/trunk/.bzrignore
===================================================================
--- zope.event/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,14 +0,0 @@
-./.installed.cfg
-./bin
-./eggs
-./develop-eggs
-./parts
-*.egg-info
-./docs/_build/*
-.coverage
-build
-__pycache__
-.tox
-nosetests.xml
-coverage.xml
-*$py.class
Deleted: zope.event/trunk/CHANGES.txt
===================================================================
--- zope.event/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,68 +0,0 @@
-``zope.event`` Changelog
-========================
-
-4.0.3 (unreleased)
-------------------
-
-- TBD
-
-
-4.0.2 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-- Added support for jython 2.7.
-
-
-4.0.1 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-
-4.0.0 (2012-05-16)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
-
-- Added support for PyPy.
-
-
-3.5.2 (2012-03-30)
-------------------
-
-- This release is the last which will maintain support for Python 2.4 /
- Python 2.5.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-
-3.5.1 (2011-08-04)
-------------------
-
-- Added Sphinx documentation.
-
-3.5.0 (2010-05-01)
-------------------
-
-- Added change log to ``long-description``.
-
-- Support for Python 3.x.
-
-3.4.1 (2009-03-03)
-------------------
-
-- A few minor cleanups.
-
-3.4.0 (2007-07-14)
-------------------
-
-- Initial release as a separate project.
Deleted: zope.event/trunk/COPYRIGHT.txt
===================================================================
--- zope.event/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.event/trunk/LICENSE.txt
===================================================================
--- zope.event/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.event/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.event/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.event/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.event
Deleted: zope.event/trunk/README.txt
===================================================================
--- zope.event/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,14 +0,0 @@
-``zope.event`` README
-=====================
-
-The ``zope.event`` package provides a simple event system, including:
-
-- An event publishing API, intended for use by applications which are
- unaware of any subscribers to their events.
-
-- A very simple event-dispatching system on which more sophisticated
- event dispatching systems can be built. For example, a type-based
- event dispatching system that builds on ``zope.event`` can be found in
- ``zope.component``.
-
-Please see http://docs.zope.org/zope.event/ for the documentation.
Deleted: zope.event/trunk/bootstrap.py
===================================================================
--- zope.event/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,64 +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, 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
-
-is_jython = sys.platform.startswith('java')
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', cmd, '-mqNxd', tmpeggs,
- 'zc.buildout'],
- env = dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ).wait() == 0
-else:
- 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)
Deleted: zope.event/trunk/buildout.cfg
===================================================================
--- zope.event/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,15 +0,0 @@
-[buildout]
-develop = .
-parts =
- test
- sphinx
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.event
-
-[sphinx]
-recipe = zc.recipe.egg
-eggs =
- zope.event[docs]
-dependent-scripts = true
Deleted: zope.event/trunk/setup.cfg
===================================================================
--- zope.event/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,11 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.event
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.event[testing]
-docs = easy_install zope.event[docs]
-
Deleted: zope.event/trunk/setup.py
===================================================================
--- zope.event/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,70 +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.
-##############################################################################
-"""Setup for zope.event package
-"""
-
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-setup(
- name='zope.event',
- version='4.0.3dev',
- url='http://pypi.python.org/pypi/zope.event',
- license='ZPL 2.1',
- description='Very basic event publishing system',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=(
- read('README.txt')
- + '\n' +
- read('CHANGES.txt')
- ),
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Operating System :: OS Independent",
- "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.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: Jython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Zope3",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
-
- packages=find_packages('src'),
- package_dir={'': 'src'},
- namespace_packages=['zope',],
- include_package_data=True,
- install_requires=['setuptools'],
- zip_safe=False,
- test_suite='zope.event.tests.test_suite',
- extras_require={'docs': ['Sphinx'],
- 'testing': ['nose', 'coverage'],
- },
-)
Deleted: zope.event/trunk/tox.ini
===================================================================
--- zope.event/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.event/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,32 +0,0 @@
-[tox]
-envlist =
- py26,py27,py32,py33,pypy,jython,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-deps = zope.event
-
-[testenv:jython]
-# Supported: jython >= 2.7a2
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-commands =
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
Deleted: zope.exceptions/trunk/.bzrignore
===================================================================
--- zope.exceptions/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,12 +0,0 @@
-./.installed.cfg
-./bin
-./develop-eggs
-./eggs
-./parts
-*.egg-info
-.coverage
-__pycache__
-docs/_build
-.tox
-nosetests.xml
-coverage.xml
Deleted: zope.exceptions/trunk/CHANGES.txt
===================================================================
--- zope.exceptions/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,167 +0,0 @@
-zope.exceptions Changelog
-=========================
-
-4.0.6 (unreleased)
-------------------
-
-- TBD
-
-
-4.0.5 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-- Fixed a test failure under Python 2.6.
-
-
-4.0.4 (2012-12-13)
-------------------
-
-- Release with a fixed MANIFEST.in (without ``docs/``)
-
-
-4.0.3 (2012-12-10)
-------------------
-
-- Fixed format_exception(..., as_html=True) not to HTML-escape the '<br />'
- it adds to the exception value.
-
-
-4.0.2 (2012-11-21)
-------------------
-
-- Test Python 3.3 support under tox.
-
-
-4.0.1 (2012-08-20)
-------------------
-
-- Fixed optional dependency code for `zope.security` to work under Python 3.3.
-
-
-4.0.0.1 (2012-05-16)
---------------------
-
-- Fixed rendering of package docs on PyPI.
-
-
-4.0.0 (2012-05-16)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Added Sphinx documentation.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Removed use of '2to3' and associated fixers when installing under Py3k.
- The code is now in a "compatible subset" which supports Python 2.6, 2.7,
- and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
- spec).
-
-- 100% unit test coverage.
-
-- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-
-3.7.1 (2012-03-28)
-------------------
-
-- Fix: missed to reverse extractStack entries
-
-
-3.7.0 (2012-03-28)
-------------------
-
-- Added TextExceptionFormatter.extractStack and extract_stack
-
-
-3.6.2 (2012-03-28)
-------------------
-
-- Fallback to traceback.format_tb when the formatter is called recursively.
- i.e. Don't let errors in the formatter pass silently.
-
-- Fix deprecated unittest functions: ``assert_`` and ``assertEquals``.
-
-3.6.1 (2010-07-06)
-------------------
-
-- Fixed tests to work under Python 2.7.
-
-- PEP8 cleanup and removed obsolete build infrastructure files.
-
-
-3.6.0 (2010-05-02)
-------------------
-
-- Added support to bootstrap on Jython.
-
-- Added Python 3 support.
-
-- The dependency on zope.testing seemed spurious, possibly a rest of a real
- dependency that is gone now. I removed it.
-
-
-3.5.2 (2008-04-30)
-------------------
-
-- Updated CHANGES.txt.
-
-
-3.5.1 (2008-04-28)
-------------------
-
-- Reverted changes in 3.5.0.
-
-
-3.5.0
------
-
-- Added the capability for exceptions to be formatted line-by-line.
- Unfortunately, also introduced a bug cause each line of the exception to be
- its own log message.
-
-
-3.4.0 (2007-10-02)
-------------------
-
-- Updated package meta-data.
-
-
-3.4.0b2 (2007-08-14)
---------------------
-
-- Removed superfluous dependency on ``zope.deprecation``.
-
-
-3.4.0b1 (2007-07-09)
---------------------
-
-- Corresponds to the version of the ``zope.exceptions`` package shipped as
- part of the Zope 3.4.0b1 release.
-
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the version of the ``zope.exceptions`` package shipped as part of
- the Zope 3.2.0 release.
-
-- Deprecated the ``INotFoundError`` interface and the corresponding
- ``NotFoundError`` exception class, in favor of "standard" exceptions
- ``AttributeError``, ``KeyError``). The deprecated items will be removed in
- Zope 3.3.
-
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the version of the zope.exceptions package shipped as part of
- the Zope X3.0.0 release.
Deleted: zope.exceptions/trunk/COPYRIGHT.txt
===================================================================
--- zope.exceptions/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.exceptions/trunk/LICENSE.txt
===================================================================
--- zope.exceptions/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.exceptions/trunk/MANIFEST.in
===================================================================
--- zope.exceptions/trunk/MANIFEST.in 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/MANIFEST.in 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-include *.txt
-include MANIFEST.in
-include bootstrap.py
-include buildout.cfg
-include setup.cfg
-include tox.ini
-recursive-include docs *.rst *.py *.bat Makefile _static _templates
Added: zope.exceptions/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.exceptions/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.exceptions/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.exceptions
Deleted: zope.exceptions/trunk/README.txt
===================================================================
--- zope.exceptions/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-zope.exceptions README
-=======================
-
-This package contains exception interfaces and implementations which are so
-general purpose that they don't belong in Zope application-specific packages.
-
-Please see http://docs.zope.org/zope.exceptions/ for the documentation.
Deleted: zope.exceptions/trunk/bootstrap.py
===================================================================
--- zope.exceptions/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,118 +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.
-
-$Id$
-"""
-
-import os, shutil, sys, tempfile, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="distribute", default=False,
- help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.version is not None:
- VERSION = '==%s' % options.version
-else:
- VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-try:
- import pkg_resources
- import setuptools
- if not hasattr(pkg_resources, '_distribute'):
- raise ImportError
-except ImportError:
- ez = {}
- if USE_DISTRIBUTE:
- exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
- else:
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- reload(sys.modules['pkg_resources'])
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
- requirement = 'distribute'
-else:
- requirement = 'setuptools'
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout' + VERSION],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.exceptions/trunk/buildout.cfg
===================================================================
--- zope.exceptions/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-[buildout]
-develop = .
-parts = test
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.exceptions
Deleted: zope.exceptions/trunk/setup.cfg
===================================================================
--- zope.exceptions/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,10 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.exceptions
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.exceptions[testing]
-docs = easy_install zope.exceptions[docs]
Deleted: zope.exceptions/trunk/setup.py
===================================================================
--- zope.exceptions/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,70 +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.
-##############################################################################
-"""Setup for zope.exceptions package
-"""
-import os
-from setuptools import setup, find_packages
-
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-
-setup(name='zope.exceptions',
- version='4.0.6dev',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Zope Exceptions',
- long_description=(read('README.txt') + '\n\n' +
- read('CHANGES.txt')),
- keywords = 'zope exceptions',
- classifiers = [
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- '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.2',
- 'Programming Language :: Python :: 3.3',
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://cheeseshop.python.org/pypi/zope.exceptions',
- license='ZPL 2.1',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope'],
- install_requires=['setuptools',
- 'zope.interface',
- ],
- test_suite = 'zope.exceptions.tests',
- include_package_data = True,
- zip_safe = False,
- extras_require = {
- 'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
- 'testing': ['nose', 'coverage'],
- },
-)
Deleted: zope.exceptions/trunk/tox.ini
===================================================================
--- zope.exceptions/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.exceptions/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,42 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-deps = zope.interface
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.exceptions
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- zope.interface
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- zope.interface
- Sphinx
- repoze.sphinx.autointerface
Deleted: zope.hookable/trunk/.bzrignore
===================================================================
--- zope.hookable/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,8 +0,0 @@
-build
-*.egg-info
-_build
-.coverage
-coverage.xml
-nosetests.xml
-.tox
-__pycache__
Deleted: zope.hookable/trunk/CHANGES.txt
===================================================================
--- zope.hookable/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,56 +0,0 @@
-Changes
--------
-
-4.0.3 (unreleased)
-##################
-
-- TBD
-
-4.0.2 (2012-12-31)
-##################
-
-- Fleshed out PyPI Trove classifiers.
-
-4.0.1 (2012-11-21)
-##################
-
-- Added support for Python 3.3.
-
-- Avoid building the C extension explicitly (use the "feature" indirection
- instead). https://bugs.launchpad.net/zope.hookable/+bug/1025470
-
-4.0.0 (2012-06-04)
-##################
-
-- Added support for PyPy.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Added a pure-Python reference implementation.
-
-- Doctests moved to Sphinx documentation.
-
-- 100% unit test coverage.
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Dropped support for Python 2.4 / 2.5.
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-
-- Added Python 3 support.
-
-3.4.1 (2009-04-05)
-##################
-
-- Updated tests for compatibility with Python 2.6 traceback formats.
-
-- Use Jython-compatible ``bootstrap.py``.
-
-3.4.0 (2007-07-20)
-##################
-
-- Initial release as a separate project.
Deleted: zope.hookable/trunk/COPYRIGHT.txt
===================================================================
--- zope.hookable/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.hookable/trunk/LICENSE.txt
===================================================================
--- zope.hookable/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.hookable/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.hookable/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.hookable/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.hookable
Deleted: zope.hookable/trunk/README.txt
===================================================================
--- zope.hookable/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,15 +0,0 @@
-``zope.hookable``
-=================
-
-Overview
---------
-
-Hookable object support.
-
-Support the efficient creation of hookable objects, which are callable objects
-that are meant to be replaced by other callables, at least optionally.
-
-The idea is you create a function that does some default thing and make it
-hookable. Later, someone can modify what it does by calling its sethook method
-and changing its implementation. All users of the function, including those
-that imported it, will see the change.
Deleted: zope.hookable/trunk/bootstrap.py
===================================================================
--- zope.hookable/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,66 +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, 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
-
-is_jython = sys.platform.startswith('java')
-
-if is_jython:
- import subprocess
-
-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
-
-if is_jython:
- assert subprocess.Popen(
- [sys.executable] + ['-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout'],
- env = dict(os.environ,
- PYTHONPATH =
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ).wait() == 0
-
-else:
- 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)
Deleted: zope.hookable/trunk/buildout.cfg
===================================================================
--- zope.hookable/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-[buildout]
-develop = .
-parts = test
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.hookable
Deleted: zope.hookable/trunk/setup.cfg
===================================================================
--- zope.hookable/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,11 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.hookable
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.hookable[testing]
-docs = easy_install zope.hookable[docs]
-
Deleted: zope.hookable/trunk/setup.py
===================================================================
--- zope.hookable/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,89 +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.
-##############################################################################
-"""Setup for zope.hookable package
-"""
-import os
-import platform
-
-from setuptools import setup, find_packages, Extension, Feature
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-Cwrapper = Feature(
- "C wrapper",
- standard = True,
- ext_modules=[Extension("zope.hookable._zope_hookable",
- [os.path.join('src', 'zope', 'hookable',
- "_zope_hookable.c")
- ],
- extra_compile_args=['-g']),
- ],
-)
-py_impl = getattr(platform, 'python_implementation', lambda: None)
-is_pypy = py_impl() == 'PyPy'
-
-# Jython cannot build the C optimizations, while on PyPy they are
-# anti-optimizations (the C extension compatibility layer is known-slow,
-# and defeats JIT opportunities).
-if is_pypy:
- features = {}
-else:
- features = {'Cwrapper': Cwrapper}
-
-setup(name='zope.hookable',
- version = '4.0.3dev',
- url='http://svn.zope.org/zope.hookable',
- license='ZPL 2.1',
- description='Zope hookable',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=(read('README.txt') + '\n\n' +
- read('CHANGES.txt')),
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Operating System :: OS Independent",
- "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.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Zope3",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- features=features,
- packages=find_packages('src'),
- package_dir={'': 'src'},
- namespace_packages=['zope',],
- install_requires=['setuptools'],
- include_package_data=True,
- zip_safe=False,
- test_suite='zope.hookable.tests.test_hookable.test_suite',
- extras_require = {
- 'docs': ['Sphinx'],
- 'testing': ['nose', 'coverage'],
- 'test': ['zope.testing'],
- },
-)
Deleted: zope.hookable/trunk/tox.ini
===================================================================
--- zope.hookable/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.hookable/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,38 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.hookable
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
Deleted: zope.i18nmessageid/trunk/.bzrignore
===================================================================
--- zope.i18nmessageid/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,8 +0,0 @@
-*.egg-info
-.coverage
-docs/_build
-__pycache__
-build
-.tox
-nosetests.xml
-coverage.xml
Deleted: zope.i18nmessageid/trunk/CHANGES.txt
===================================================================
--- zope.i18nmessageid/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,136 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.3 (unreleased)
-------------------
-
-- TBD
-
-4.0.2 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-4.0.1 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-4.0.0 (2012-05-16)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Removed use of '2to3' and associated fixers when installing under Py3k.
- The code is now in a "compatible subset" which supports Python 2.6, 2.7,
- and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
- spec).
-
-- 100% unit test coverage.
-
-- Move doctest examples into Sphinx documentation.
-
-- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
-
-- Added explicit support for PyPy.
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-
-3.6.1 (2011-07-20)
-------------------
-
-- Correct metadata in this file for release date.
-
-3.6.0 (2011-07-20)
-------------------
-
-- Python 3 support.
-
-- Don't attempt to compile C extensions on PyPy or Jython.
-
-- Add a tox.ini (see http://tox.readthedocs.org/en/latest/) for easier
- automated testing.
-
-3.5.3 (2010-08-10)
-------------------
-
-- Made compilation of C extension optional again; 3.5.1 broke this
- inasmuch as this package become unusable on non-CPython platforms.
- Making the compilation of the C extension optional again implied
- removing ``setup.py`` code added in 3.5.1 which made the C extension
- a setuptools "Feature" and readding code from 3.5.0 which overrides
- the distutils ``build_ext`` command.
-
-- Move pickle equality tests into a unittest.TestCase test to make it
- easier to condition the tests on whether the C extension has been
- compiled. This also makes the tests pass on Jython.
-
-3.5.2 (2010-04-30)
-------------------
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-
-3.5.1 (2010-04-10)
-------------------
-
-- LP #257657 / 489529: Fix memory leak in C extension.
-
-- Fixed the compilation of the C extension with python 2.6: refactored it as a
- setuptools Feature.
-
-3.5.0 (2009-06-27)
-------------------
-
-- Made compilation of C extension optional.
-
-- Added support to bootstrap on Jython.
-
-- Changed package's mailing list address from zope3-dev at zope.org to
- zope-dev at zope.org, because zope3-dev is now retired.
-
-- Reformatted change log to common formatting style.
-
-- Update package description and docs a little.
-
-- Remove old .cfg files for zpkg.
-
-3.4.3 (2007-09-26)
-------------------
-
-- Make PyPI the home URL.
-
-3.4.2 (2007-09-25)
-------------------
-
-- Moved the ``ZopeMessageFactory`` from ``zope.app.i18n`` to this package.
-
-3.4.0 (2007-07-19)
-------------------
-
-- Remove incorrect dependency.
-
-- Create final release to reflect package status.
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the verison of the zope.i18nmessageid package shipped as
- part of the Zope 3.2.0 release.
-
-- Implemented 'zope.i18nmessageid.message' as a C extension.
-
-- Deprecated 'zope.i18nmessageid.messageid' APIs ('MessageID',
- 'MessageIDFactory') in favor of replacements in 'zope.i18nmessageid.message'
- ('Message', 'MessageFactory'). Deprecated items are scheduled for removal
- in Zope 3.3.
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the verison of the zope.i18nmessageid package shipped as
- part of the Zope X3.0.0 release.
Deleted: zope.i18nmessageid/trunk/COPYRIGHT.txt
===================================================================
--- zope.i18nmessageid/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.i18nmessageid/trunk/LICENSE.txt
===================================================================
--- zope.i18nmessageid/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.i18nmessageid/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.i18nmessageid/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.i18nmessageid/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.i18nmessageid
Deleted: zope.i18nmessageid/trunk/README.txt
===================================================================
--- zope.i18nmessageid/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,24 +0,0 @@
-To translate any text, we must be able to discover the source domain
-of the text. A source domain is an identifier that identifies a
-project that produces program source strings. Source strings occur as
-literals in python programs, text in templates, and some text in XML
-data. The project implies a source language and an application
-context.
-
-We can think of a source domain as a collection of messages and
-associated translation strings.
-
-We often need to create unicode strings that will be displayed by
-separate views. The view cannot translate the string without knowing
-its source domain. A string or unicode literal carries no domain
-information, therefore we use messages. Messages are unicode strings
-which carry a translation source domain and possibly a default
-translation. They are created by a message factory. The message
-factory is created by calling ``MessageFactory`` with the source
-domain.
-
-This package provides facilities for *declaring* such messages within
-program source text; translation of the messages is the responsiblitiy
-of the 'zope.i18n' package.
-
-Please see http://docs.zope.org/zope.i18nmessageid/ for the documentation.
Deleted: zope.i18nmessageid/trunk/bootstrap.py
===================================================================
--- zope.i18nmessageid/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,119 +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, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="distribute", default=False,
- help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.version is not None:
- VERSION = '==%s' % options.version
-else:
- VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-to_reload = False
-try:
- import pkg_resources
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
- if USE_DISTRIBUTE:
- exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
- else:
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- if to_reload:
- reload(pkg_resources)
- else:
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
- requirement = 'distribute'
-else:
- requirement = 'setuptools'
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout' + VERSION],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.i18nmessageid/trunk/buildout.cfg
===================================================================
--- zope.i18nmessageid/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,12 +0,0 @@
-[buildout]
-develop = .
-parts = test python
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.i18nmessageid
-
-[python]
-recipe = zc.recipe.egg
-eggs = zope.i18nmessageid
-interpreter = python
Deleted: zope.i18nmessageid/trunk/setup.cfg
===================================================================
--- zope.i18nmessageid/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,11 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.i18nmessageid
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.i18nmessageid[testing]
-docs = easy_install zope.i18nmessageid[docs]
-
Deleted: zope.i18nmessageid/trunk/setup.py
===================================================================
--- zope.i18nmessageid/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,138 +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.
-##############################################################################
-"""Setup for zope.i18nmessageid package
-"""
-
-import os
-import sys
-
-from setuptools import setup, find_packages, Extension, Feature
-from distutils.command.build_ext import build_ext
-from distutils.errors import CCompilerError
-from distutils.errors import DistutilsExecError
-from distutils.errors import DistutilsPlatformError
-import platform
-
-py_impl = getattr(platform, 'python_implementation', lambda: None)
-is_pypy = py_impl() == 'PyPy'
-is_jython = 'java' in sys.platform
-
-codeoptimization_c = os.path.join('src', 'zope', 'i18nmessageid',
- "_zope_i18nmessageid_message.c")
-codeoptimization = Feature(
- "Optional code optimizations",
- standard = True,
- ext_modules = [Extension(
- "zope.i18nmessageid._zope_i18nmessageid_message",
- [os.path.normcase(codeoptimization_c)]
- )])
-
-extra = {
- 'extras_require': {'testing': ['nose', 'coverage'],
- 'docs': ['Sphinx'],
- },
-}
-
-if not is_pypy and not is_jython:
- # Jython cannot build the C optimizations, while on PyPy they are
- # anti-optimizations (the C extension compatibility layer is known-slow,
- # and defeats JIT opportunities).
- extra['features'] = {'codeoptimization':codeoptimization}
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-class optional_build_ext(build_ext):
- """This class subclasses build_ext and allows
- the building of C extensions to fail.
- """
- def run(self):
- try:
- build_ext.run(self)
-
- except DistutilsPlatformError:
- # The sys.exc_info()[1] is to preserve compatibility with both
- # Python 2.5 and 3.x, which is needed in setup.py.
- self._unavailable(sys.exc_info()[1])
-
- def build_extension(self, ext):
- try:
- build_ext.build_extension(self, ext)
-
- except (CCompilerError, DistutilsExecError):
- # The sys.exc_info()[1] is to preserve compatibility with both
- # Python 2.5 and 3.x, which is needed in setup.py.
- self._unavailable(sys.exc_info()[1])
-
- def _unavailable(self, e):
- # Write directly to stderr to preserve compatibility with both
- # Python 2.5 and 3.x, which is needed in setup.py.
- sys.stderr.write('*' * 80 + '\n')
- sys.stderr.write("""WARNING:
-
- An optional code optimization (C extension) could not be compiled.
-
- Optimizations for this package will not be available!
-
- """)
- sys.stderr.write(str(e) + '\n')
- sys.stderr.write('*' * 80 + '\n')
-
-setup(name='zope.i18nmessageid',
- version = '4.0.3dev',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Message Identifiers for internationalization',
- long_description=(
- read('README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- keywords = "zope i18n message factory",
- classifiers = [
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- '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.2',
- 'Programming Language :: Python :: 3.3',
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- license='ZPL 2.1',
- url='http://pypi.python.org/pypi/zope.i18nmessageid',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope',],
- install_requires=['setuptools'],
- include_package_data = True,
- test_suite='zope.i18nmessageid.tests.test_suite',
- zip_safe = False,
- cmdclass = {'build_ext':optional_build_ext},
- **extra
-)
-
Deleted: zope.i18nmessageid/trunk/tox.ini
===================================================================
--- zope.i18nmessageid/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.i18nmessageid/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,38 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.i18nmessageid
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
Deleted: zope.interface/trunk/.bzrignore
===================================================================
--- zope.interface/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,16 +0,0 @@
-./.installed.cfg
-./bin
-./eggs
-./develop-eggs
-./docs
-./parts
-*.egg-info
-./build
-.coverage
-include
-lib
-docs/_build
-__pycache__
-.tox
-nosetests.xml
-coverage.xml
Deleted: zope.interface/trunk/CHANGES.txt
===================================================================
--- zope.interface/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,371 +0,0 @@
-``zope.interface Changelog``
-============================
-
-4.0.4 (unreleased)
-------------------
-
-- TBD
-
-4.0.3 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-4.0.2 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-- Restored ability to install the package in the absence of ``setuptools``.
-
-- LP #1055223: Fix test which depended on dictionary order and failed randomly
- in Python 3.3.
-
-4.0.1 (2012-05-22)
-------------------
-
-- Dropped explicit ``DeprecationWarnings`` for "class advice" APIS (these
- APIs are still deprecated under Python 2.x, and still raise an exception
- under Python 3.x, but no longer cause a warning to be emitted under
- Python 2.x).
-
-4.0.0 (2012-05-16)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Deprecated the "class advice" APIs from ``zope.interface.declarations``:
- ``implements``, ``implementsOnly``, and ``classProvides``. In their place,
- prefer the equivalent class decorators: ``@implementer``,
- ``@implementer_only``, and ``@provider``. Code which uses the deprecated
- APIs will not work as expected under Py3k.
-
-- Removed use of '2to3' and associated fixers when installing under Py3k.
- The code is now in a "compatible subset" which supports Python 2.6, 2.7,
- and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
- spec).
-
-- Dropped explicit support for Python 2.4 / 2.5 / 3.1.
-
-- Added support for PyPy.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-- Replaced all unittest coverage previously accomplished via doctests with
- unittests. The doctests have been moved into a ``docs`` section, managed
- as a Sphinx collection.
-
-- LP #910987: Ensure that the semantics of the ``lookup`` method of
- ``zope.interface.adapter.LookupBase`` are the same in both the C and
- Python implementations.
-
-- LP #900906: Avoid exceptions due to tne new ``__qualname__`` attribute
- added in Python 3.3 (see PEP 3155 for rationale). Thanks to Antoine
- Pitrou for the patch.
-
-3.8.0 (2011-09-22)
-------------------
-
-- New module ``zope.interface.registry``. This is code moved from
- ``zope.component.registry`` which implements a basic nonperistent component
- registry as ``zope.interface.registry.Components``. This class was moved
- from ``zope.component`` to make porting systems (such as Pyramid) that rely
- only on a basic component registry to Python 3 possible without needing to
- port the entirety of the ``zope.component`` package. Backwards
- compatibility import shims have been left behind in ``zope.component``, so
- this change will not break any existing code.
-
-- New ``tests_require`` dependency: ``zope.event`` to test events sent by
- Components implementation. The ``zope.interface`` package does not have a
- hard dependency on ``zope.event``, but if ``zope.event`` is importable, it
- will send component registration events when methods of an instance of
- ``zope.interface.registry.Components`` are called.
-
-- New interfaces added to support ``zope.interface.registry.Components``
- addition: ``ComponentLookupError``, ``Invalid``, ``IObjectEvent``,
- ``ObjectEvent``, ``IComponentLookup``, ``IRegistration``,
- ``IUtilityRegistration``, ``IAdapterRegistration``,
- ``ISubscriptionAdapterRegistration``, ``IHandlerRegistration``,
- ``IRegistrationEvent``, ``RegistrationEvent``, ``IRegistered``,
- ``Registered``, ``IUnregistered``, ``Unregistered``,
- ``IComponentRegistry``, and ``IComponents``.
-
-- No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).
-
-3.7.0 (2011-08-13)
-------------------
-
-- Move changes from 3.6.2 - 3.6.5 to a new 3.7.x release line.
-
-3.6.7 (2011-08-20)
-------------------
-
-- Fix sporadic failures on x86-64 platforms in tests of rich comparisons
- of interfaces.
-
-3.6.6 (2011-08-13)
-------------------
-
-- LP #570942: Now correctly compare interfaces from different modules but
- with the same names.
-
- N.B.: This is a less intrusive / destabilizing fix than the one applied in
- 3.6.3: we only fix the underlying cmp-alike function, rather than adding
- the other "rich comparison" functions.
-
-- Revert to software as released with 3.6.1 for "stable" 3.6 release branch.
-
-3.6.5 (2011-08-11)
-------------------
-
-- LP #811792: work around buggy behavior in some subclasses of
- ``zope.interface.interface.InterfaceClass``, which invoke ``__hash__``
- before initializing ``__module__`` and ``__name__``. The workaround
- returns a fixed constant hash in such cases, and issues a ``UserWarning``.
-
-- LP #804832: Under PyPy, ``zope.interface`` should not build its C
- extension. Also, prevent attempting to build it under Jython.
-
-- Add a tox.ini for easier xplatform testing.
-
-- Fix testing deprecation warnings issued when tested under Py3K.
-
-3.6.4 (2011-07-04)
-------------------
-
-- LP 804951: InterfaceClass instances were unhashable under Python 3.x.
-
-3.6.3 (2011-05-26)
-------------------
-
-- LP #570942: Now correctly compare interfaces from different modules but
- with the same names.
-
-3.6.2 (2011-05-17)
-------------------
-
-- Moved detailed documentation out-of-line from PyPI page, linking instead to
- http://docs.zope.org/zope.interface .
-
-- Fixes for small issues when running tests under Python 3.2 using
- ``zope.testrunner``.
-
-- LP # 675064: Specify return value type for C optimizations module init
- under Python 3: undeclared value caused warnings, and segfaults on some
- 64 bit architectures.
-
-- setup.py now raises RuntimeError if you don't have Distutils installed when
- running under Python 3.
-
-3.6.1 (2010-05-03)
-------------------
-
-- A non-ASCII character in the changelog made 3.6.0 uninstallable on
- Python 3 systems with another default encoding than UTF-8.
-
-- Fixed compiler warnings under GCC 4.3.3.
-
-3.6.0 (2010-04-29)
-------------------
-
-- LP #185974: Clear the cache used by ``Specificaton.get`` inside
- ``Specification.changed``. Thanks to Jacob Holm for the patch.
-
-- Added support for Python 3.1. Contributors:
-
- Lennart Regebro
- Martin v Loewis
- Thomas Lotze
- Wolfgang Schnerring
-
- The 3.1 support is completely backwards compatible. However, the implements
- syntax used under Python 2.X does not work under 3.X, since it depends on
- how metaclasses are implemented and this has changed. Instead it now supports
- a decorator syntax (also under Python 2.X)::
-
- class Foo:
- implements(IFoo)
- ...
-
- can now also be written::
-
- @implementer(IFoo):
- class Foo:
- ...
-
- There are 2to3 fixers available to do this change automatically in the
- zope.fixers package.
-
-- Python 2.3 is no longer supported.
-
-
-3.5.4 (2009-12-23)
-------------------
-
-- Use the standard Python doctest module instead of zope.testing.doctest, which
- has been deprecated.
-
-
-3.5.3 (2009-12-08)
-------------------
-
-- Fix an edge case: make providedBy() work when a class has '__provides__' in
- its __slots__ (see http://thread.gmane.org/gmane.comp.web.zope.devel/22490)
-
-
-3.5.2 (2009-07-01)
-------------------
-
-- BaseAdapterRegistry.unregister, unsubscribe: Remove empty portions of
- the data structures when something is removed. This avoids leaving
- references to global objects (interfaces) that may be slated for
- removal from the calling application.
-
-
-3.5.1 (2009-03-18)
-------------------
-
-- verifyObject: use getattr instead of hasattr to test for object attributes
- in order to let exceptions other than AttributeError raised by properties
- propagate to the caller
-
-- Add Sphinx-based documentation building to the package buildout
- configuration. Use the ``bin/docs`` command after buildout.
-
-- Improve package description a bit. Unify changelog entries formatting.
-
-- Change package's mailing list address to zope-dev at zope.org as
- zope3-dev at zope.org is now retired.
-
-
-3.5.0 (2008-10-26)
-------------------
-
-- Fixed declaration of _zope_interface_coptimizations, it's not a top level
- package.
-
-- Add a DocTestSuite for odd.py module, so their tests are run.
-
-- Allow to bootstrap on Jython.
-
-- Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification
- was missing a declaration for __iro__.
-
-- Added optional code optimizations support, which allows the building
- of C code optimizations to fail (Jython).
-
-- Replaced `_flatten` with a non-recursive implementation, effectively making
- it 3x faster.
-
-
-3.4.1 (2007-10-02)
-------------------
-
-- Fixed a setup bug that prevented installation from source on systems
- without setuptools.
-
-
-3.4.0 (2007-07-19)
-------------------
-
-- Final release for 3.4.0.
-
-
-3.4.0b3 (2007-05-22)
---------------------
-
-
-- Objects with picky custom comparison methods couldn't be added to
- component registries. Now, when checking whether an object is
- already registered, identity comparison is used.
-
-
-3.3.0.1 (2007-01-03)
---------------------
-
-- Made a reference to OverflowWarning, which disappeared in Python
- 2.5, conditional.
-
-
-3.3.0 (2007/01/03)
-------------------
-
-New Features
-++++++++++++
-
-- The adapter-lookup algorithim was refactored to make it
- much simpler and faster.
-
- Also, more of the adapter-lookup logic is implemented in C, making
- debugging of application code easier, since there is less
- infrastructre code to step through.
-
-- We now treat objects without interface declarations as if they
- declared that they provide zope.interface.Interface.
-
-- There are a number of richer new adapter-registration interfaces
- that provide greater control and introspection.
-
-- Added a new interface decorator to zope.interface that allows the
- setting of tagged values on an interface at definition time (see
- zope.interface.taggedValue).
-
-Bug Fixes
-+++++++++
-
-- A bug in multi-adapter lookup sometimes caused incorrect adapters to
- be returned.
-
-
-3.2.0.2 (2006-04-15)
---------------------
-
-- Fix packaging bug: 'package_dir' must be a *relative* path.
-
-
-3.2.0.1 (2006-04-14)
---------------------
-
-- Packaging change: suppress inclusion of 'setup.cfg' in 'sdist' builds.
-
-
-3.2.0 (2006-01-05)
-------------------
-
-- Corresponds to the verison of the zope.interface package shipped as part of
- the Zope 3.2.0 release.
-
-
-3.1.0 (2005-10-03)
-------------------
-
-- Corresponds to the verison of the zope.interface package shipped as part of
- the Zope 3.1.0 release.
-
-- Made attribute resolution order consistent with component lookup order,
- i.e. new-style class MRO semantics.
-
-- Deprecated 'isImplementedBy' and 'isImplementedByInstancesOf' APIs in
- favor of 'implementedBy' and 'providedBy'.
-
-
-3.0.1 (2005-07-27)
-------------------
-
-- Corresponds to the verison of the zope.interface package shipped as part of
- the Zope X3.0.1 release.
-
-- Fixed a bug reported by James Knight, which caused adapter registries
- to fail occasionally to reflect declaration changes.
-
-
-3.0.0 (2004-11-07)
-------------------
-
-- Corresponds to the verison of the zope.interface package shipped as part of
- the Zope X3.0.0 release.
Deleted: zope.interface/trunk/COPYRIGHT.txt
===================================================================
--- zope.interface/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.interface/trunk/LICENSE.txt
===================================================================
--- zope.interface/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.interface/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.interface/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.interface/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.interface
Deleted: zope.interface/trunk/README-better_unittest.txt
===================================================================
--- zope.interface/trunk/README-better_unittest.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/README-better_unittest.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,88 +0,0 @@
-Overview
-========
-
-This branch has three goals:
-
-- Convert all doctests in zope.interface to "normal" Sphinx documentation
-
-- Replace existing API coverage previously provided by the doctests with
- standard unit tests.
-
-- Get the unit test coverage, sans doctests, to 100%.
-
-There are secondary, related cleanups, mostly in line with the coding
-standards for unit tests proposed here:
-
-- http://palladion.com/home/tseaver/obzervationz/2008/unit_testing_notes-20080724
-
-- http://palladion.com/home/tseaver/obzervationz/2009/unit_testing_redux-20090802
-
-Later
------
-
-Once merged, I'd like to ask for help in trimming the former doctests down
-to the point that embedded examples exist purely to serve documentary purposes;
-they should be free of weird edge cases, oddball test setups, etc., as well
-as artifacts to ease testing.
-
-
-TODO
-====
-
-- [X] Move doctest files to docs:
-
- * ``src/zope/interface/README.txt``
-
- * ``src/zope/interface/index.txt``
-
- * ``src/zope/interface/adapter.txt``
-
- * ``src/zope/interface/human.txt``
-
- * ``src/zope/interface/verify.txt``
-
- * ``src/zope/interface/tests/foodforthought``
-
- * ``src/zope/interface/README.ru.txt``
-
- * ``src/zope/interface/adapter.ru.txt``
-
- * ``src/zope/interface/human.ru.txt``
-
-- [X] Remove ``src/zope/interface/tests/unitfixtures.py``.
-
-- [X] Test both C and Python implementations.
-
-- [X] 100% unit test coverage when run under ``nose --with-coverage``:
-
- * :mod:`zope.interface`
-
- * :mod:`zope.interface.adapter`
-
- * :mod:`zope.interface.common`
-
- * :mod:`zope.interface.common.idatetime`
-
- * :mod:`zope.interface.common.interfaces`
-
- * :mod:`zope.interface.common.mapping`
-
- * :mod:`zope.interface.common.sequence`
-
- * :mod:`zope.interface.advice`
-
- * :mod:`zope.interface.declarations`
-
- * :mod:`zope.interface.document`
-
- * :mod:`zope.interface.exceptions`
-
- * :mod:`zope.interface.interface`
-
- * :mod:`zope.interface.interfaces`
-
- * :mod:`zope.interface.registry`
-
- * :mod:`zope.interface.ro`
-
- * :mod:`zope.interface.verify`
Deleted: zope.interface/trunk/README.txt
===================================================================
--- zope.interface/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,15 +0,0 @@
-``zope.interface`` README
-=========================
-
-This package is intended to be independently reusable in any Python
-project. It is maintained by the `Zope Toolkit project
-<http://docs.zope.org/zopetoolkit/>`_.
-
-This package provides an implementation of "object interfaces" for Python.
-Interfaces are a mechanism for labeling objects as conforming to a given
-API or contract. So, this package can be considered as implementation of
-the `Design By Contract`_ methodology support in Python.
-
-.. _Design By Contract: http://en.wikipedia.org/wiki/Design_by_contract
-
-For detailed documentation, please see http://docs.zope.org/zope.interface
Deleted: zope.interface/trunk/bootstrap.py
===================================================================
--- zope.interface/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,66 +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, urllib2
-
-tmpeggs = tempfile.mkdtemp()
-
-ez = {}
-exec(urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read(), ez)
-ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
-import pkg_resources
-
-is_jython = sys.platform.startswith('java')
-
-if is_jython:
- import subprocess
-
-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
-
-if is_jython:
- assert subprocess.Popen([sys.executable] + ['-c', cmd, '-mqNxd', tmpeggs,
- 'zc.buildout'],
- env = dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse('setuptools')).location
- ),
- ).wait() == 0
-
-else:
- 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)
Deleted: zope.interface/trunk/buildout.cfg
===================================================================
--- zope.interface/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,14 +0,0 @@
-[buildout]
-develop = .
-parts = test python
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.interface
- zope.event
-
-[python]
-recipe = zc.recipe.egg
-eggs = zope.interface
- zope.event
-interpreter = python
Deleted: zope.interface/trunk/setup.cfg
===================================================================
--- zope.interface/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,10 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.interface
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.interface[testing]
-docs = easy_install zope.interface[docs]
Deleted: zope.interface/trunk/setup.py
===================================================================
--- zope.interface/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,145 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004-2007 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.
-##############################################################################
-"""Setup for zope.interface package
-"""
-
-import os
-import platform
-import sys
-
-from distutils.errors import CCompilerError
-from distutils.errors import DistutilsExecError
-from distutils.errors import DistutilsPlatformError
-
-try:
- from setuptools.command.build_ext import build_ext
-except ImportError:
- from distutils.command.build_ext import build_ext
-
-class optional_build_ext(build_ext):
- """This class subclasses build_ext and allows
- the building of C extensions to fail.
- """
- def run(self):
- try:
- build_ext.run(self)
- except DistutilsPlatformError as e:
- self._unavailable(e)
-
- def build_extension(self, ext):
- try:
- build_ext.build_extension(self, ext)
- except (CCompilerError, DistutilsExecError) as e:
- self._unavailable(e)
-
- def _unavailable(self, e):
- print('*' * 80)
- print("""WARNING:
-
- An optional code optimization (C extension) could not be compiled.
-
- Optimizations for this package will not be available!""")
- print()
- print(e)
- print('*' * 80)
-
-try:
- from setuptools import setup, Extension, Feature
-except ImportError:
- # do we need to support plain distutils for building when even
- # the package itself requires setuptools for installing?
- from distutils.core import setup, Extension
- extra = {}
-else:
- codeoptimization_c = os.path.join('src', 'zope', 'interface',
- '_zope_interface_coptimizations.c')
- codeoptimization = Feature(
- "Optional code optimizations",
- standard = True,
- ext_modules = [Extension(
- "zope.interface._zope_interface_coptimizations",
- [os.path.normcase(codeoptimization_c)]
- )])
- py_impl = getattr(platform, 'python_implementation', lambda: None)
- is_pypy = py_impl() == 'PyPy'
- is_jython = 'java' in sys.platform
-
- # Jython cannot build the C optimizations, while on PyPy they are
- # anti-optimizations (the C extension compatibility layer is known-slow,
- # and defeats JIT opportunities).
- if is_pypy or is_jython:
- features = {}
- else:
- features = {'codeoptimization': codeoptimization}
- tests_require = ['zope.event']
- testing_extras = tests_require + ['nose', 'coverage']
- extra = dict(
- namespace_packages=["zope"],
- include_package_data = True,
- zip_safe = False,
- tests_require = tests_require,
- install_requires = ['setuptools'],
- extras_require={'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
- 'test': tests_require,
- 'testing': testing_extras,
- },
- features = features
- )
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-long_description=(
- read('README.txt')
- + '\n' +
- read('CHANGES.txt')
- )
-
-setup(name='zope.interface',
- version='4.0.4dev',
- url='http://pypi.python.org/pypi/zope.interface',
- license='ZPL 2.1',
- description='Interfaces for Python',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=long_description,
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Operating System :: OS Independent",
- "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.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Zope3",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
-
- packages = ['zope', 'zope.interface', 'zope.interface.tests'],
- package_dir = {'': 'src'},
- cmdclass = {'build_ext': optional_build_ext,
- },
- test_suite = 'zope.interface.tests',
- **extra)
Deleted: zope.interface/trunk/tox.ini
===================================================================
--- zope.interface/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.interface/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,38 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-deps = zope.event
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:py32]
-deps = zope.event
-
-[testenv:coverage]
-basepython =
- python2.6
-commands =
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
- repoze.sphinx.autointerface
Deleted: zope.location/trunk/.bzrignore
===================================================================
--- zope.location/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-*.egg-info
-docs/_build
-.coverage
-nosetests.xml
-coverage.xml
-__pycache__
-.tox
Deleted: zope.location/trunk/CHANGES.txt
===================================================================
--- zope.location/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,180 +0,0 @@
-=======
-CHANGES
-=======
-
-4.0.1 (unreleased)
-------------------
-
-- TBD
-
-4.0.0 (2012-06-07)
-------------------
-
-- Removed backward-compatibility imports:
-
- - ``zope.copy.clone`` (aliased as ``zope.location.pickling.locationCopy``)
-
- - ``zope.copy.CopyPersistent`` (aliased as
- ``zope.location.pickling.CopyPersistent``).
-
- - ``zope.site.interfaces.IPossibleSite`` (aliased as
- ``zope.location.interfaces.IPossibleSite``).
-
-- Added Python 3.2 support.
-
-- Made ``zope.component`` dependency optional. Use the ``component`` extra
- to force its installation (or just require it directly). If
- ``zope.component`` is not present, this package defines the ``ISite``
- interface itself, and omits adapter registrations from its ZCML.
-
-- Added support for PyPy.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- 100% unit test coverage.
-
-- Added Sphinx documentation: moved doctest examples to API reference.
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- 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 and 2.5.
-
-
-3.9.1 (2011-08-22)
-------------------
-
-- Added zcml extra as well as a test for configure.zcml.
-
-
-3.9.0 (2009-12-29)
-------------------
-
-- Moved LocationCopyHook related tests to zope.copy and remove a test
- dependency on that package.
-
-3.8.2 (2009-12-23)
-------------------
-
-- Fixed a typo in the configure.zcml.
-
-3.8.1 (2009-12-23)
-------------------
-
-- Removed dependency on zope.copy: the LocationCopyHook adapter is registered
- only if zope.copy is available.
-
-- Use the standard Python doctest module instead of zope.testing.doctest, which
- has been deprecated.
-
-3.8.0 (2009-12-22)
-------------------
-
-- Adjusted to testing output caused by new zope.schema.
-
-3.7.1 (2009-11-18)
-------------------
-
-- Moved the IPossibleSite and ISite interfaces to zope.component as they are
- dealing with zope.component's concept of a site, but not with location.
-
-3.7.0 (2009-09-29)
-------------------
-
-- Added getParent() to ILocationInfo and moved the actual implementation here
- from zope.traversal.api, analogous to getParents().
-
-- Actually removed deprecated PathPersistent class from
- zope.location.pickling.
-
-- Moved ITraverser back to zope.traversing where it belongs conceptually. The
- interface had been moved to zope.location to invert the package
- interdependency but is no longer used here.
-
-3.6.0 (2009-08-27)
-------------------
-
-- New feature release: deprecated locationCopy, CopyPersistent and
- PathPersistent from zope.location.pickling. These changes were already part
- of the 3.5.3 release, which was erroneously numbered as a bugfix relese.
-
-- Removed dependency on zope.deferredimport, directly import deprecated modules
- without using it.
-
-3.5.5 (2009-08-15)
-------------------
-
-- Add zope.deferredimport as a dependency as it's used directly by
- zope.location.pickling.
-
-3.5.4 (2009-05-17)
-------------------
-
-- Add ``IContained`` interface to ``zope.location.interfaces`` module.
- This interface was moved from ``zope.container`` (after
- ``zope.container`` 3.8.2); consumers of ``IContained`` may now
- depend on zope.location rather than zope.container to reduce
- dependency cycles.
-
-3.5.3 (2009-02-09)
-------------------
-
-- Use new zope.copy package for implementing location copying. Thus
- there's changes in the ``zope.locaton.pickling`` module:
-
- * The ``locationCopy`` and ``CopyPersistent`` was removed in prefer
- to their equivalents in zope.copy. Deprecated backward-compatibility
- imports provided.
-
- * The module now provides a ``zope.copy.interfaces.ICopyHook`` adapter
- for ``ILocation`` objects that replaces the old CopyPersistent
- functionality of checking for the need to clone objects based on
- their location.
-
-3.5.2 (2009-02-04)
-------------------
-
-- Split RootPhysicallyLocatable adapter back from LocationPhysicallyLocatable,
- because the IRoot object may not always provide ILocation and the code
- for the root object is also simplier. It's basically a copy of the
- RootPhysicallyLocatable adapter from zope.traversing version 3.5.0 and
- below with ``getParents`` method added (returns an empty list).
-
-3.5.1 (2009-02-02)
-------------------
-
-- Improve test coverage.
-
-- The new ``getParents`` method was extracted from ``zope.traversing``
- and added to ILocationInfo interface in the previous release. Custom
- ILocationInfo implementations should make sure they have this method
- as well. That method is already used in ``zope.traversing.api.getParents``
- function.
-
-- Make ``getName`` of LocationPhysicallyLocatable always return empty
- string for the IRoot object, like RootPhysicallyLocatable from
- ``zope.traversing`` did. So, now LocationPhysicallyLocatable is
- fully compatible with RootPhysicallyLocatable, making the latter one
- obsolete.
-
-- Change package mailing list address to zope-dev at zope.org instead
- of retired zope3-dev at zope.org.
-
-3.5.0 (2009-01-31)
-------------------
-
-- Reverse the dependency between zope.location and zope.traversing. This
- also causes the dependency to various other packages go away.
-
-3.4.0 (2007-10-02)
-------------------
-
-- Initial release independent of the main Zope tree.
Deleted: zope.location/trunk/COPYRIGHT.txt
===================================================================
--- zope.location/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.location/trunk/LICENSE.txt
===================================================================
--- zope.location/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.
Added: zope.location/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.location/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.location/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.location
Deleted: zope.location/trunk/README.txt
===================================================================
--- zope.location/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-Zope Location
-=============
-
-Overview
-========
-
-In Zope3, location are special objects that has a structural location.
Deleted: zope.location/trunk/bootstrap.py
===================================================================
--- zope.location/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,260 +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, textwrap, urllib, urllib2, subprocess
-from optparse import OptionParser
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- quote = str
-
-# See zc.buildout.easy_install._has_broken_dash_S for motivation and comments.
-stdout, stderr = subprocess.Popen(
- [sys.executable, '-Sc',
- 'try:\n'
- ' import ConfigParser\n'
- 'except ImportError:\n'
- ' print 1\n'
- 'else:\n'
- ' print 0\n'],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
-has_broken_dash_S = bool(int(stdout.strip()))
-
-# In order to be more robust in the face of system Pythons, we want to
-# run without site-packages loaded. This is somewhat tricky, in
-# particular because Python 2.6's distutils imports site, so starting
-# with the -S flag is not sufficient. However, we'll start with that:
-if not has_broken_dash_S and 'site' in sys.modules:
- # We will restart with python -S.
- args = sys.argv[:]
- args[0:0] = [sys.executable, '-S']
- args = map(quote, args)
- os.execv(sys.executable, args)
-# Now we are running with -S. We'll get the clean sys.path, import site
-# because distutils will do it later, and then reset the path and clean
-# out any namespace packages from site-packages that might have been
-# loaded by .pth files.
-clean_path = sys.path[:]
-import site
-sys.path[:] = clean_path
-for k, v in sys.modules.items():
- if k in ('setuptools', 'pkg_resources') or (
- hasattr(v, '__path__') and
- len(v.__path__)==1 and
- not os.path.exists(os.path.join(v.__path__[0],'__init__.py'))):
- # This is a namespace package. Remove it.
- sys.modules.pop(k)
-
-is_jython = sys.platform.startswith('java')
-
-setuptools_source = 'http://peak.telecommunity.com/dist/ez_setup.py'
-distribute_source = 'http://python-distribute.org/distribute_setup.py'
-
-# parsing arguments
-def normalize_to_url(option, opt_str, value, parser):
- if value:
- if '://' not in value: # It doesn't smell like a URL.
- value = 'file://%s' % (
- urllib.pathname2url(
- os.path.abspath(os.path.expanduser(value))),)
- if opt_str == '--download-base' and not value.endswith('/'):
- # Download base needs a trailing slash to make the world happy.
- value += '/'
- else:
- value = None
- name = opt_str[2:].replace('-', '_')
- setattr(parser.values, name, value)
-
-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", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="use_distribute", default=False,
- help="Use Distribute rather than Setuptools.")
-parser.add_option("--setup-source", action="callback", dest="setup_source",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or file location for the setup file. "
- "If you use Setuptools, this will default to " +
- setuptools_source + "; if you use Distribute, this "
- "will default to " + distribute_source +"."))
-parser.add_option("--download-base", action="callback", dest="download_base",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or directory for downloading "
- "zc.buildout and either Setuptools or Distribute. "
- "Defaults to PyPI."))
-parser.add_option("--eggs",
- help=("Specify a directory for storing eggs. Defaults to "
- "a temporary directory that is deleted when the "
- "bootstrap script completes."))
-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", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout's main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.eggs:
- eggs_dir = os.path.abspath(os.path.expanduser(options.eggs))
-else:
- eggs_dir = tempfile.mkdtemp()
-
-if options.setup_source is None:
- if options.use_distribute:
- options.setup_source = distribute_source
- else:
- options.setup_source = setuptools_source
-
-if options.accept_buildout_test_releases:
- args.append('buildout:accept-buildout-test-releases=true')
-args.append('bootstrap')
-
-try:
- import pkg_resources
- import setuptools # A flag. Sometimes pkg_resources is installed alone.
- if not hasattr(pkg_resources, '_distribute'):
- raise ImportError
-except ImportError:
- ez_code = urllib2.urlopen(
- options.setup_source).read().replace('\r\n', '\n')
- ez = {}
- exec ez_code in ez
- setup_args = dict(to_dir=eggs_dir, download_delay=0)
- if options.download_base:
- setup_args['download_base'] = options.download_base
- if options.use_distribute:
- setup_args['no_fake'] = True
- ez['use_setuptools'](**setup_args)
- if 'pkg_resources' in sys.modules:
- reload(sys.modules['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)
-
-cmd = [quote(sys.executable),
- '-c',
- quote('from setuptools.command.easy_install import main; main()'),
- '-mqNxd',
- quote(eggs_dir)]
-
-if not has_broken_dash_S:
- cmd.insert(1, '-S')
-
-find_links = options.download_base
-if not find_links:
- find_links = os.environ.get('bootstrap-testing-find-links')
-if find_links:
- cmd.extend(['-f', quote(find_links)])
-
-if options.use_distribute:
- setup_requirement = 'distribute'
-else:
- setup_requirement = 'setuptools'
-ws = pkg_resources.working_set
-setup_requirement_path = ws.find(
- pkg_resources.Requirement.parse(setup_requirement)).location
-env = dict(
- os.environ,
- PYTHONPATH=setup_requirement_path)
-
-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=[setup_requirement_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)
-
-if is_jython:
- import subprocess
- exitcode = subprocess.Popen(cmd, env=env).wait()
-else: # Windows prefers this, apparently; otherwise we would prefer subprocess
- exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
-if exitcode != 0:
- sys.stdout.flush()
- sys.stderr.flush()
- print ("An error occurred when trying to install zc.buildout. "
- "Look above this message for any errors that "
- "were output by easy_install.")
- sys.exit(exitcode)
-
-ws.add_entry(eggs_dir)
-ws.require(requirement)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-if not options.eggs: # clean up temporary egg directory
- shutil.rmtree(eggs_dir)
Deleted: zope.location/trunk/buildout.cfg
===================================================================
--- zope.location/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,18 +0,0 @@
-[buildout]
-develop = .
-parts = test coverage-test coverage-report
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.location [zcml]
-
-[coverage-test]
-recipe = zc.recipe.testrunner
-eggs = zope.location
-defaults = ['--coverage', '../../coverage']
-
-[coverage-report]
-recipe = zc.recipe.egg
-eggs = z3c.coverage
-scripts = coverage=coverage-report
-arguments = ('coverage', 'coverage/report')
Deleted: zope.location/trunk/setup.cfg
===================================================================
--- zope.location/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,11 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.location
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.location[testing]
-docs = easy_install zope.location[docs]
-
Deleted: zope.location/trunk/setup.py
===================================================================
--- zope.location/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,80 +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.
-##############################################################################
-"""Setup for zope.location package
-"""
-import os
-from setuptools import setup, find_packages
-
-def read(*rnames):
- text = open(os.path.join(os.path.dirname(__file__), *rnames)).read()
- return text
-
-setup(name='zope.location',
- version='4.0.1dev',
- author='Zope Corporation and Contributors',
- author_email='zope-dev at zope.org',
- description='Zope Location',
- long_description=(
- read('README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- license='ZPL 2.1',
- keywords=('zope location structural'),
- classifiers = [
- 'Development Status :: 5 - Production/Stable',
- 'Environment :: Web Environment',
- '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.2',
- 'Programming Language :: Python :: Implementation :: CPython',
- 'Programming Language :: Python :: Implementation :: PyPy',
- 'Natural Language :: English',
- 'Operating System :: OS Independent',
- 'Topic :: Internet :: WWW/HTTP',
- 'Framework :: Zope3'],
- url='http://pypi.python.org/pypi/zope.location/',
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope',],
- install_requires=['setuptools',
- 'zope.interface',
- 'zope.schema>=3.6',
- 'zope.proxy>3.3',
- ],
- extras_require={
- 'zcml': ['zope.configuration'],
- 'component': ['zope.component>=3.8'],
- 'testing': [
- 'nose',
- 'coverage',
- 'zope.configuration',
- 'zope.copy',
- ],
- 'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
- },
- test_suite='zope.location.tests',
- include_package_data = True,
- zip_safe = False,
-)
Deleted: zope.location/trunk/tox.ini
===================================================================
--- zope.location/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.location/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,75 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
-# py32 support pending zope.component
-# py26,py27,py32,pypy,coverage,docs
- py26,py27,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-deps =
- zope.configuration>=4.0
- zope.copy
- zope.interface>=4.0
- zope.proxy>=4.0
- zope.schema>=4.0
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-deps =
- zope.configuration>=4.0
- zope.copy
- zope.interface>=4.0
- zope.proxy>=4.0
- zope.schema>=4.0
-
-[testenv:py32]
-commands =
- python setup.py test -q
-deps =
- zope.configuration>=4.0
-# zope.copy>=4.0 not yet ported
- zope.interface>=4.0
- zope.proxy>=4.0
- zope.schema>=4.0
-
-[testenv:coverage]
-basepython =
- python2.6
-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.location
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- zope.configuration>=4.0
- zope.copy
- zope.interface>=4.0
- zope.proxy>=4.0
- zope.schema>=4.0
- zope.component>=3.8
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- zope.configuration>=4.0
- zope.copy
- zope.interface>=4.0
- zope.proxy>=4.0
- zope.schema>=4.0
- zope.component>=3.8
- Sphinx
- repoze.sphinx.autointerface
Deleted: zope.proxy/trunk/.bzrignore
===================================================================
--- zope.proxy/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,8 +0,0 @@
-.coverage
-build
-*.egg-info
-_build
-.tox
-nosetests.xml
-coverage.xml
-__pycache__
Deleted: zope.proxy/trunk/CHANGES.txt
===================================================================
--- zope.proxy/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,124 +0,0 @@
-=======
-CHANGES
-=======
-
-4.1.2 (unreleased)
-------------------
-
-- TBD
-
-4.1.1 (2012-12-31)
-------------------
-
-- Fleshed out PyPI Trove classifiers.
-
-4.1.0 (2012-12-19)
-------------------
-
-- Enabled compilation of dependent modules under Py3k.
-
-- Replaced use of ``PyCObject`` APIs with equivalent ``PyCapsule`` APIs,
- except under Python 2.6.
-
- N.B. This change is an ABI incompatibility under Python 2.7:
- extensions built under Python 2.7 against 4.0.x versions of
- ``zope.proxy`` must be rebuilt.
-
-4.0.1 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-4.0.0 (2012-06-06)
-------------------
-
-- Added support for PyPy.
-
- N.B.: the C extension is *not* built under PyPy.
-
-- Added a pure-Python reference / fallback implementations of
- ``zope.proxy.ProxyBase`` and the proxy module API functions.
-
- N.B.: the pure-Python proxy implements all regular features of
- ``ProxyBase``; however, it does not exclude access to the wrapped object
- in the same way that the C version does. If you need that information
- hiding (e.g., to implement security sandboxing), you still need to use
- the C version.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- 100% unit test coverage.
-
-- Added Sphinx documentation: moved doctest examples to API reference.
-
-- Added 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
-
-- Added 'setup.py dev' alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Replaced deprecated ``zope.interface.implements`` usage with equivalent
- ``zope.interface.implementer`` decorator.
-
-- Dropped support for Python 2.4 and 2.5.
-
-- Added Python 3.2 support.
-
-3.6.1 (2010-07-06)
-------------------
-
-- Make tests compatible with Python 2.7.
-
-3.6.0 (2010-04-30)
-------------------
-
-- Removed test extra and the remaining dependency on zope.testing.
-
-- Removed use of 'zope.testing.doctestunit' in favor of stdlib's 'doctest.
-
-3.5.0 (2009/01/31)
-------------------
-
-- Added support to bootstrap on Jython.
-
-- Use zope.container instead of zope.app.container.
-
-3.4.2 (2008/07/27)
-------------------
-
-- Made C code compatible with Python 2.5 on 64bit architectures.
-
-3.4.1 (2008/06/24)
-------------------
-
-- Bug: Updated `setup.py` script to conform to common layout. Also updated
- some of the fields.
-
-- Bug: The behavior of tuples and lists in the `__getslice__()` and
- `__setslice__()` method were incorrect by not honoring the pre-cooked
- indices. See http://docs.python.org/ref/sequence-methods.html.
-
-3.4.0 (2007/07/12)
-------------------
-
-- Feature: Added a decorator module that supports declaring interfaces on
- proxies that get blended with the interfaces of the things they proxy.
-
-3.3.0 (2006/12/20)
-------------------
-
-- Corresponds to the verison of the `zope.proxy` package shipped as part of
- the Zope 3.3.0 release.
-
-
-3.2.0 (2006/01/05)
-------------------
-
-- Corresponds to the verison of the zope.proxy package shipped as part of
- the Zope 3.2.0 release.
-
-
-3.0.0 (2004/11/07)
-------------------
-
-- Corresponds to the verison of the zope.proxy package shipped as part of
- the Zope X3.0.0 release.
Deleted: zope.proxy/trunk/COPYRIGHT.txt
===================================================================
--- zope.proxy/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.proxy/trunk/LICENSE.txt
===================================================================
--- zope.proxy/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.proxy/trunk/MANIFEST.in
===================================================================
--- zope.proxy/trunk/MANIFEST.in 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/MANIFEST.in 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,6 +0,0 @@
-include *.txt
-include buildout.cfg
-include bootstrap.py
-include tox.ini
-recursive-include src *.h *.py
-recursive-include docs Makefile make.bat *.py *.rst
Added: zope.proxy/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.proxy/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.proxy/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.proxy
Deleted: zope.proxy/trunk/README.txt
===================================================================
--- zope.proxy/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,16 +0,0 @@
-
-===========================
-Generic Transparent Proxies
-===========================
-
-Proxies are special objects which serve as mostly-transparent
-wrappers around another object, intervening in the apparent behavior of
-the wrapped object only when necessary to apply the policy (e.g., access
-checking, location brokering, etc.) for which the proxy is responsible.
-
-Editorial note:
-
- Unfortunately, we don't have separate documentation for `zope.proxy`
- at this time. This is a shame because they are generically useful.
- We are publishing this release without documentation mainly because
- it is a dependency of other releases.
Deleted: zope.proxy/trunk/bootstrap.py
===================================================================
--- zope.proxy/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,119 +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, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="distribute", default=False,
- help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.version is not None:
- VERSION = '==%s' % options.version
-else:
- VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-to_reload = False
-try:
- import pkg_resources
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
- if USE_DISTRIBUTE:
- exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
- else:
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- if to_reload:
- reload(pkg_resources)
- else:
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
- requirement = 'distribute'
-else:
- requirement = 'setuptools'
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout' + VERSION],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.proxy/trunk/buildout.cfg
===================================================================
--- zope.proxy/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,7 +0,0 @@
-[buildout]
-parts = test
-develop = .
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.proxy
Deleted: zope.proxy/trunk/setup.cfg
===================================================================
--- zope.proxy/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,10 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.proxy
-cover-erase=1
-with-doctest=0
-where=src
-
-[aliases]
-dev = develop easy_install zope.proxy[testing]
-docs = easy_install zope.proxy[docs]
Deleted: zope.proxy/trunk/setup.py
===================================================================
--- zope.proxy/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,92 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006-2008 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.
-##############################################################################
-"""Setup for zope.proxy package
-"""
-import os
-import platform
-
-from setuptools import setup, Extension, Feature
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-Cwrapper = Feature(
- "C wrapper",
- standard = True,
- headers=[os.path.join('src', 'zope', 'proxy', 'proxy.h')],
- ext_modules=[Extension("zope.proxy._zope_proxy_proxy",
- [os.path.join('src', 'zope', 'proxy',
- "_zope_proxy_proxy.c")
- ],
- extra_compile_args=['-g']),
- ],
-)
-
-# PyPy won't build the extension.
-py_impl = getattr(platform, 'python_implementation', lambda: None)
-is_pypy = py_impl() == 'PyPy'
-if is_pypy:
- features = {}
-else:
- features = {'Cwrapper': Cwrapper}
-
-setup(name='zope.proxy',
- version = '4.1.2dev',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- description='Generic Transparent Proxies',
- long_description=(
- read('README.txt')
- + '\n\n' +
- read('CHANGES.txt')
- ),
- url='http://pypi.python.org/pypi/zope.proxy',
- license='ZPL 2.1',
- 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.2',
- 'Programming Language :: Python :: 3.3',
- 'Programming Language :: Python :: Implementation :: CPython',
- 'Programming Language :: Python :: Implementation :: PyPy',
- "Framework :: Zope3",
- 'Natural Language :: English',
- 'Operating System :: OS Independent'],
- keywords='proxy generic transparent',
- packages=['zope', 'zope.proxy'],
- package_dir = {'': 'src'},
- namespace_packages=['zope',],
- features=features,
- test_suite = 'zope.proxy',
- install_requires=[
- 'zope.interface',
- 'setuptools'],
- include_package_data = True,
- zip_safe = False,
- extras_require = {
- 'testing': ['nose', 'coverage'],
- 'docs': ['Sphinx', 'repoze.sphinx.autointerface'],
- },
-)
Deleted: zope.proxy/trunk/tox.ini
===================================================================
--- zope.proxy/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.proxy/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,39 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-commands =
- python setup.py test -q
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.proxy
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- Sphinx
- repoze.sphinx.autointerface
Deleted: zope.schema/trunk/.bzrignore
===================================================================
--- zope.schema/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,13 +0,0 @@
-./.installed.cfg
-./bin
-./eggs
-./develop-eggs
-./docs
-./parts
-*.egg-info
-.coverage
-__pycache__
-nosetests.xml
-coverage.xml
-.tox
-docs/_build
Deleted: zope.schema/trunk/CHANGES.txt
===================================================================
--- zope.schema/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,293 +0,0 @@
-zope.schema Changelog
-=====================
-
-4.2.3 (unreleased)
-------------------
-
-- TBD
-
-4.2.2 (2012-11-21)
-------------------
-
-- Added support for Python 3.3.
-
-4.2.1 (2012-11-09)
-------------------
-
-- Fix the default property of fields that have no defaultFactory attribute.
-
-
-4.2.0 (2012-05-12)
-------------------
-
-- Automated build of Sphinx HTML docs and running doctest snippets via tox.
-
-- Dropped explicit support for Python 3.1.
-
-- Introduce NativeString and NativeStringLine which are equal to Bytes and
- BytesLine on Python 2 and Text and TextLine on Python 3.
-
-- Change IURI from a Bytes string to a "native" string. This is a backwards
- incompatibility which only affects Python 3.
-
-- 100% unit test coverage.
-
-- Doctests moved from the package and wired up as normal Sphinx documentation.
-
-- Added explicit support for PyPy.
-
-- Added support for continuous integration using ``tox`` and ``jenkins``.
-
-- Dropped the external ``six`` dependency in favor of a much-trimmed
- ``zope.schema._compat`` module.
-
-- Tests now pass when run under ``nose``.
-
-- Added ``setup.py dev`` alias (runs ``setup.py develop`` plus installs
- ``nose`` and ``coverage``).
-
-- Added ``setup.py docs`` alias (installs ``Sphinx`` and dependencies).
-
-
-4.1.1 (2012-03-23)
-------------------
-
-- Remove trailing slash in MANIFEST.in, it causes Winbot to crash.
-
-
-4.1.0 (2012-03-23)
-------------------
-
-- Add TreeVocabulary for nested tree-like vocabularies.
-
-- Fix broken Object field validation where the schema contains a Choice with
- ICountextSourceBinder source. In this case the vocabulary was not iterable
- because the field was not bound and the source binder didn't return the
- real vocabulary. Added simple test for IContextSourceBinder validation. But a
- test with an Object field with a schema using a Choice with
- IContextSourceBinder is still missing.
-
-4.0.1 (2011-11-14)
-------------------
-
-- Fix bug in ``fromUnicode`` method of ``DottedName`` which would fail
- validation on being given unicode. Introduced in 4.0.0.
-
-4.0.0 (2011-11-09)
-------------------
-
-- Fix deprecated unittest methods.
-
-- Port to Python 3. This adds a dependency on six and removes support for
- Python 2.5.
-
-3.8.1 (2011-09-23)
-------------------
-
-- fix broken Object field validation. Previous version was using a volatile
- property on object field values which ends in a ForbiddenAttribute error
- on security proxied objects.
-
-3.8.0 (2011-03-18)
-------------------
-
-- Implemented a ``defaultFactory`` attribute for all fields. It is a callable
- that can be used to compute default values. The simplest case is::
-
- Date(defaultFactory=datetime.date.today)
-
- If the factory needs a context to compute a sensible default value, then it
- must provide ``IContextAwareDefaultFactory``, which can be used as follows::
-
- @provider(IContextAwareDefaultFactory)
- def today(context):
- return context.today()
-
- Date(defaultFactory=today)
-
-3.7.1 (2010-12-25)
-------------------
-
-- The validation token, used in the validation of schema with Object
- Field to avoid infinite recursion, has been renamed.
- ``__schema_being_validated`` became ``_v_schema_being_validated``,
- a volatile attribute, to avoid persistency and therefore,
- read/write conflicts.
-
-- Don't allow "[\]^`" in DottedName.
- https://bugs.launchpad.net/zope.schema/+bug/191236
-
-3.7.0 (2010-09-12)
-------------------
-
-- Improve error messages when term tokens or values are duplicates.
-
-- Fix the buildout so the tests run.
-
-3.6.4 (2010-06-08)
-------------------
-
-- fix validation of schema with Object Field that specify Interface schema.
-
-3.6.3 (2010-04-30)
-------------------
-
-- Prefer the standard libraries doctest module to the one from zope.testing.
-
-3.6.2 (2010-04-30)
-------------------
-
-- Avoid maximum recursion when validating Object field that points to cycles
-
-- Made the dependency on ``zope.i18nmessageid`` optional.
-
-3.6.1 (2010-01-05)
-------------------
-
-- Allow "setup.py test" to run at least a subset of the tests runnable
- via ``bin/test`` (227 for ``setup.py test`` vs. 258. for
- ``bin/test``)
-
-- Make ``zope.schema._bootstrapfields.ValidatedProperty`` descriptor
- work under Jython.
-
-- Make "setup.py test" tests pass on Jython.
-
-3.6.0 (2009-12-22)
-------------------
-
-- Prefer zope.testing.doctest over doctestunit.
-
-- Extend validation error to hold the field name.
-
-- Add FieldProperty class that uses Field.get and Field.set methods
- instead of storing directly on the instance __dict__.
-
-3.5.4 (2009-03-25)
-------------------
-
-- Don't fail trying to validate default value for Choice fields with
- IContextSourceBinder object given as a source. See
- https://bugs.launchpad.net/zope3/+bug/340416.
-
-- Add an interface for ``DottedName`` field.
-
-- Add ``vocabularyName`` attribute to the ``IChoice`` interface, change
- "vocabulary" attribute description to be more sensible, making it
- ``zope.schema.Field`` instead of plain ``zope.interface.Attribute``.
-
-- Make IBool interface of Bool more important than IFromUnicode so adapters
- registered for IBool take precendence over adapters registered for
- IFromUnicode.
-
-
-3.5.3 (2009-03-10)
-------------------
-
-- Make Choice and Bool fields implement IFromUnicode interface, because
- they do provide the ``fromUnicode`` method.
-
-- Change package's mailing list address to zope-dev at zope.org, as
- zope3-dev at zope.org is now retired.
-
-- Fix package's documentation formatting. Change package's description.
-
-- Add buildout part that builds Sphinx-generated documentation.
-
-- Remove zpkg-related file.
-
-3.5.2 (2009-02-04)
-------------------
-
-- Made validation tests compatible with Python 2.5 again (hopefully not
- breaking Python 2.4)
-
-- Added an __all__ package attribute to expose documentation.
-
-3.5.1 (2009-01-31)
-------------------
-
-- Stop using the old old set type.
-
-- Make tests compatible and silent with Python 2.4.
-
-- Fix __cmp__ method in ValidationError. Show some side effects based on the
- existing __cmp__ implementation. See validation.txt
-
-- Make 'repr' of the ValidationError and its subclasses more sensible. This
- may require you to adapt your doctests for the new style, but now it makes
- much more sense for debugging for developers.
-
-3.5.0a2 (2008-12-11)
---------------------
-
-- Move zope.testing to "test" extras_require, as it is not needed
- for zope.schema itself.
-
-- Change the order of classes in SET_TYPES tuple, introduced in
- previous release to one that was in 3.4 (SetType, set), because
- third-party code could be dependent on that order. The one
- example is z3c.form's converter.
-
-3.5.0a1 (2008-10-10)
---------------------
-
-- Added the doctests to the long description.
-
-- Removed use of deprecated 'sets' module when running under Python 2.6.
-
-- Removed spurious doctest failure when running under Python 2.6.
-
-- Added support to bootstrap on Jython.
-
-- Added helper methods for schema validation: ``getValidationErrors``
- and ``getSchemaValidationErrors``.
-
-- zope.schema now works on Python2.5
-
-3.4.0 (2007-09-28)
-------------------
-
-Added BeforeObjectAssignedEvent that is triggered before the object
-field sets a value.
-
-3.3.0 (2007-03-15)
-------------------
-
-Corresponds to the version of the zope.schema package shipped as part of
-the Zope 3.3.0 release.
-
-3.2.1 (2006-03-26)
-------------------
-
-Corresponds to the version of the zope.schema package shipped as part of
-the Zope 3.2.1 release.
-
-Fixed missing import of 'VocabularyRegistryError'. See
-http://www.zope.org/Collectors/Zope3-dev/544 .
-
-3.2.0 (2006-01-05)
-------------------
-
-Corresponds to the version of the zope.schema package shipped as part of
-the Zope 3.2.0 release.
-
-Added "iterable" sources to replace vocabularies, which are now deprecated
-and scheduled for removal in Zope 3.3.
-
-3.1.0 (2005-10-03)
-------------------
-
-Corresponds to the version of the zope.schema package shipped as part of
-the Zope 3.1.0 release.
-
-Allowed 'Choice' fields to take either a 'vocabulary' or a 'source'
-argument (sources are a simpler implementation).
-
-Added 'TimeDelta' and 'ASCIILine' field types.
-
-3.0.0 (2004-11-07)
-------------------
-
-Corresponds to the version of the zope.schema package shipped as part of
-the Zope X3.0.0 release.
Deleted: zope.schema/trunk/COPYRIGHT.txt
===================================================================
--- zope.schema/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.schema/trunk/LICENSE.txt
===================================================================
--- zope.schema/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.schema/trunk/MANIFEST.in
===================================================================
--- zope.schema/trunk/MANIFEST.in 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/MANIFEST.in 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,3 +0,0 @@
-recursive-include src/zope/schema *.txt
-graft src/zope/schema/tests
-global-exclude *.pyc
Added: zope.schema/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.schema/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.schema/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.schema
Deleted: zope.schema/trunk/README.txt
===================================================================
--- zope.schema/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,13 +0,0 @@
-zope.schema README
-==================
-
-Schemas extend the notion of interfaces to detailed descriptions of
-Attributes (but not methods). Every schema is an interface and
-specifies the public fields of an object. A *field* roughly
-corresponds to an attribute of a Python object. But a Field provides
-space for at least a title and a description. It can also constrain
-its value and provide a validation method. Besides you can optionally
-specify characteristics such as its value being read-only or not
-required.
-
-See http://docs.zope.org/zope.schema/ for more information.
Deleted: zope.schema/trunk/bootstrap.py
===================================================================
--- zope.schema/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,119 +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, urllib2
-from optparse import OptionParser
-
-tmpeggs = tempfile.mkdtemp()
-
-is_jython = sys.platform.startswith('java')
-
-# parsing arguments
-parser = OptionParser()
-parser.add_option("-v", "--version", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="distribute", default=False,
- help="Use Disribute rather than Setuptools.")
-
-parser.add_option("-c", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout' main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.version is not None:
- VERSION = '==%s' % options.version
-else:
- VERSION = ''
-
-USE_DISTRIBUTE = options.distribute
-args = args + ['bootstrap']
-
-to_reload = False
-try:
- import pkg_resources
- if not hasattr(pkg_resources, '_distribute'):
- to_reload = True
- raise ImportError
-except ImportError:
- ez = {}
- if USE_DISTRIBUTE:
- exec urllib2.urlopen('http://python-distribute.org/distribute_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0, no_fake=True)
- else:
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
- ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
-
- if to_reload:
- reload(pkg_resources)
- else:
- import pkg_resources
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- def quote (c):
- return c
-
-cmd = 'from setuptools.command.easy_install import main; main()'
-ws = pkg_resources.working_set
-
-if USE_DISTRIBUTE:
- requirement = 'distribute'
-else:
- requirement = 'setuptools'
-
-if is_jython:
- import subprocess
-
- assert subprocess.Popen([sys.executable] + ['-c', quote(cmd), '-mqNxd',
- quote(tmpeggs), 'zc.buildout' + VERSION],
- env=dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ).wait() == 0
-
-else:
- assert os.spawnle(
- os.P_WAIT, sys.executable, quote (sys.executable),
- '-c', quote (cmd), '-mqNxd', quote (tmpeggs), 'zc.buildout' + VERSION,
- dict(os.environ,
- PYTHONPATH=
- ws.find(pkg_resources.Requirement.parse(requirement)).location
- ),
- ) == 0
-
-ws.add_entry(tmpeggs)
-ws.require('zc.buildout' + VERSION)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-shutil.rmtree(tmpeggs)
Deleted: zope.schema/trunk/buildout.cfg
===================================================================
--- zope.schema/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,14 +0,0 @@
-[buildout]
-develop = .
-parts =
- test
- tox
-
-[test]
-recipe = zc.recipe.testrunner
-eggs = zope.schema [test]
-
-[tox]
-recipe = zc.recipe.egg
-eggs =
- tox
Deleted: zope.schema/trunk/setup.cfg
===================================================================
--- zope.schema/trunk/setup.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/setup.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,12 +0,0 @@
-[nosetests]
-nocapture=1
-cover-package=zope.schema
-cover-erase=1
-with-doctest=0
-where=src
-ignore-files=examples.py
-
-[aliases]
-dev = develop easy_install zope.schema[testing]
-docs = easy_install zope.schema[docs]
-
Deleted: zope.schema/trunk/setup.py
===================================================================
--- zope.schema/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,115 +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.
-##############################################################################
-"""Setup for zope.schema package
-"""
-import os
-import sys
-from setuptools import setup, find_packages
-
-def read(*rnames):
- return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
-
-def _modname(path, base, name=''):
- if path == base:
- return name
- dirname, basename = os.path.split(path)
- return _modname(dirname, base, basename + '.' + name)
-
-def alltests():
- import logging
- import pkg_resources
- import unittest
-
- class NullHandler(logging.Handler):
- level = 50
-
- def emit(self, record):
- pass
-
- logging.getLogger().addHandler(NullHandler())
-
- suite = unittest.TestSuite()
- base = pkg_resources.working_set.find(
- pkg_resources.Requirement.parse('zope.schema')).location
- for dirpath, dirnames, filenames in os.walk(base):
- if os.path.basename(dirpath) == 'tests':
- for filename in filenames:
- if filename.endswith('.py') and filename.startswith('test'):
- mod = __import__(
- _modname(dirpath, base, os.path.splitext(filename)[0]),
- {}, {}, ['*'])
- suite.addTest(mod.test_suite())
- elif 'tests.py' in filenames:
- continue
- mod = __import__(_modname(dirpath, base, 'tests'), {}, {}, ['*'])
- suite.addTest(mod.test_suite())
- return suite
-
-REQUIRES = [
- 'setuptools',
- 'zope.interface >= 3.6.0',
- 'zope.event',
- ]
-
-if sys.version_info < (2, 7):
- REQUIRES += ['ordereddict']
-
-TESTS_REQUIRE = ['zope.testing']
-
-setup(name='zope.schema',
- version='4.2.3dev',
- url='http://pypi.python.org/pypi/zope.schema',
- license='ZPL 2.1',
- description='zope.interface extension for defining data schemas',
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- long_description=(read('README.txt') + '\n\n' + read('CHANGES.txt')),
- packages=find_packages('src'),
- package_dir = {'': 'src'},
- namespace_packages=['zope',],
- #extras_require={
- # 'docs': ['z3c.recipe.sphinxdoc']},
- install_requires=REQUIRES,
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Operating System :: OS Independent",
- "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.2",
- "Programming Language :: Python :: 3.3",
- "Programming Language :: Python :: Implementation :: CPython",
- "Programming Language :: Python :: Implementation :: PyPy",
- "Framework :: Zope3",
- "Topic :: Software Development :: Libraries :: Python Modules",
- ],
- include_package_data = True,
- zip_safe = False,
- test_suite='__main__.alltests',
- tests_require=TESTS_REQUIRE,
- extras_require={
- 'docs': ['Sphinx'],
- 'test': TESTS_REQUIRE,
- 'testing': TESTS_REQUIRE + ['nose', 'coverage'],
- },
-)
Deleted: zope.schema/trunk/tox.ini
===================================================================
--- zope.schema/trunk/tox.ini 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.schema/trunk/tox.ini 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,45 +0,0 @@
-[tox]
-envlist =
-# Jython support pending 2.7 support, due 2012-07-15 or so. See:
-# http://fwierzbicki.blogspot.com/2012/03/adconion-to-fund-jython-27.html
-# py26,py27,py32,jython,pypy,coverage
- py26,py27,py32,py33,pypy,coverage,docs
-
-[testenv]
-deps =
- zope.schema[test]
-commands =
- python setup.py test -q
-
-[testenv:jython]
-commands =
- jython setup.py test -q
-
-[testenv:coverage]
-basepython =
- python2.6
-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.schema
- pip install -e .
- nosetests --with-xunit --with-xcoverage
-deps =
- zope.schema[test]
- zope.interface>=3.6.0
- zope.event
- zope.testing
- nose
- coverage
- nosexcover
-
-[testenv:docs]
-basepython =
- python2.6
-commands =
- sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
-deps =
- zope.interface>=3.6.0
- Sphinx
Deleted: zope.testing/trunk/.bzrignore
===================================================================
--- zope.testing/trunk/.bzrignore 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/.bzrignore 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,6 +0,0 @@
-./.installed.cfg
-./bin
-./develop-eggs
-./eggs
-./parts
-*.egg-info
Deleted: zope.testing/trunk/CHANGES.txt
===================================================================
--- zope.testing/trunk/CHANGES.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/CHANGES.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,424 +0,0 @@
-zope.testing Changelog
-**********************
-
-4.1.2 (unreleased)
-==================
-
-- LP: #1055720: Fix failing test on Python 3.3 due to changed exception
- messaging.
-
-4.1.1 (2012-02-01)
-==================
-
-- Fixed: Windows test failure.
-
-4.1.0 (2012-01-29)
-==================
-
-- Added context-manager support to ``zope.testing.setupstack``
-
-- Made ``zope.testing.setupstack`` usable with all tests, not just
- doctests and added ``zope.testing.setupstack.globs``, which makes it
- easier to write test setup code that workes with doctests and other
- kinds of tests.
-
-- Added the ``wait`` module, which makes it easier to deal with
- non-deterministic timing issues.
-
-- Renamed ``zope.testing.renormalizing.RENormalizing`` to
- ``zope.testing.renormalizing.OutputChecker``. The old name is an
- alias.
-
-- Updated tests to run with Python 3.
-
-- More clearly labeled which features were supported by Python 3.
-
-- Reorganized documentation.
-
-4.0.0 (2011-11-09)
-==================
-
-- Removes the deprecated zope.testing.doctest.
-
-- Adds Python 3 support.
-
-- Fixed test which fails if there is a file named `Data.fs` in the current
- working directory.
-
-
-3.10.2 (2010-11-30)
-===================
-
-- Fix test of broken symlink handling to not break on Windows.
-
-
-3.10.1 (2010-11-29)
-===================
-
-- Fix removal of broken symlinks on Unix.
-
-
-3.10.0 (2010-07-21)
-===================
-
-- Removed zope.testing.testrunner, which now is moved to zope.testrunner.
-
-- Update fix for LP #221151 to a spelling compatible with Python 2.4.
-
-3.9.5 (2010-05-19)
-==================
-
-- LP #579019: When layers were run in parallel, their tearDown was not
- called. Additionally, the first layer which was run in the main
- thread did not have it's tearDown called either.
-
-- Deprecated zope.testing.testrunner and zope.testing.exceptions. They have
- been moved to a separate zope.testrunner module, and will be removed from
- zope.testing in 4.0.0, together with zope.testing.doctest.
-
-3.9.4 (2010-04-13)
-==================
-
-- LP #560259: Fix subunit output formatter to handle layer setup
- errors.
-
-- LP #399394: Added a ``--stop-on-error`` / ``--stop`` / ``-x`` option to
- the testrunner.
-
-- LP #498162: Added a ``--pdb`` alias for the existing ``--post-mortem``
- / ``-D`` option to the testrunner.
-
-- LP #547023: Added a ``--version`` option to the testrunner.
-
-- Added tests for LP #144569 and #69988.
-
- https://bugs.launchpad.net/bugs/69988
-
- https://bugs.launchpad.net/zope3/+bug/144569
-
-
-3.9.3 (2010-03-26)
-==================
-
-- zope.testing.renormalizer no longer imports zope.testing.doctest, which
- caused deprecation warnings.
-
-- Fix testrunner-layers-ntd.txt to suppress output to sys.stderr.
-
-- Suppress zope.testing.doctest deprecation warning when running
- zope.testing's own test suite.
-
-
-3.9.2 (2010-03-15)
-==================
-
-- Fixed broken ``from zope.testing.doctest import *``
-
-3.9.1 (2010-03-15)
-==================
-
-- No changes; reuploaded to fix broken 3.9.0 release on PyPI.
-
-3.9.0 (2010-03-12)
-==================
-
-- Modified the testrunner to use the standard Python doctest module instead of
- the deprecated zope.testing.doctest.
-
-- Fix testrunner-leaks.txt to use the run_internal helper, so that
- sys.exit() isn't triggered during the test run.
-
-- Added support for conditionally using a subunit-based output
- formatter upon request if subunit and testtools are available. Patch
- contributed by Jonathan Lange.
-
-3.8.7 (2010-01-26)
-==================
-
-- Downgraded the zope.testing.doctest deprecation warning into a
- PendingDeprecationWarning.
-
-3.8.6 (2009-12-23)
-==================
-
-- Added MANIFEST.in and reuploaded to fix broken 3.8.5 release on PyPI.
-
-
-3.8.5 (2009-12-23)
-==================
-
-- Added DocFileSuite, DocTestSuite, debug_src and debug back BBB imports
- back into zope.testing.doctestunit; apparently many packages still import
- them from there!
-
-- Made zope.testing.doctest and zope.testing.doctestunit emit deprecation
- warnings: use the stdlib doctest instead.
-
-
-3.8.4 (2009-12-18)
-==================
-
-- Fixed missing imports and undefined variables reported by pyflakes,
- adding tests to exercise the blind spots.
-
-- Cleaned up unused imports reported by pyflakes.
-
-- Added two new options to generate randomly ordered list of tests and to
- select a specific order of tests.
-
-- RENormalizing checkers can be combined via ``+`` now:
- ``checker1 + checker2`` creates a checker with the transformations of both
- checkers.
-
-- Test fixes for Python 2.7.
-
-3.8.3 (2009-09-21)
-==================
-
-- Avoid a split() call or we get test failures when running from a directory
- with spaces in it.
-
-- Fix testrunner behavior on Windows for -j2 (or greater) combined with -v
- (or greater).
-
-3.8.2 (2009-09-15)
-==================
-
-- Removing hotshot profiler when using Python 2.6. That makes zope.testing
- compatible with Python 2.6
-
-
-3.8.1 (2009-08-12)
-==================
-
-- Avoid hardcoding sys.argv[0] as script;
- allow, for instance, Zope 2's `bin/instance test` (LP#407916).
-
-- Produce a clear error message when a subprocess doesn't follow the
- zope.testing.testrunner protocol (LP#407916).
-
-- Do not unnecessarily squelch verbose output in a subprocess when there are
- not multiple subprocesses.
-
-- Do not unnecessarily batch subprocess output, which can stymie automated and
- human processes for identifying hung tests.
-
-- Include incremental output when there are multiple subprocesses and a
- verbosity of -vv or greater is requested. This again is not batched,
- supporting automated processes and humans looking for hung tests.
-
-
-3.8.0 (2009-07-24)
-==================
-
-- Testrunner automatically picks up descendants of unittest.TestCase in test
- modules, so you don't have to provide a test_suite() anymore.
-
-
-3.7.7 (2009-07-15)
-==================
-
-- Clean up support for displaying tracebacks with supplements by turning it
- into an always-enabled feature and making the dependency on zope.exceptions
- explicit.
-
-- Fix #251759: Test runner descended into directories that aren't Python
- packages.
-
-- Code cleanups.
-
-
-3.7.6 (2009-07-02)
-==================
-
-- Add zope-testrunner console_scripts entry point. This exposes a
- zope-testrunner binary with default installs allowing the testrunner to be
- run from the command line.
-
-3.7.5 (2009-06-08)
-==================
-
-- Fix bug when running subprocesses on Windows.
-
-- The option REPORT_ONLY_FIRST_FAILURE (command line option "-1") is now
- respected even when a doctest declares its own REPORTING_FLAGS, such as
- REPORT_NDIFF.
-
-- Fixed bug that broke readline with pdb when using doctest
- (see http://bugs.python.org/issue5727).
-
-- Made tests pass on Windows and Linux at the same time.
-
-
-3.7.4 (2009-05-01)
-==================
-
-- Filenames of doctest examples now contain the line number and not
- only the example number. So a stack trace in pdb tells the exact
- line number of the current example. This fixes
- https://bugs.launchpad.net/bugs/339813
-
-- Colorization of doctest output correctly handles blank lines.
-
-
-3.7.3 (2009-04-22)
-==================
-
-- Better deal with rogue threads by always exiting with status so even
- spinning daemon threads won't block the runner from exiting. This deprecated
- the ``--with-exit-status`` option.
-
-
-3.7.2 (2009-04-13)
-==================
-
-- fix test failure on Python 2.4 because of slight difference in the way
- coverage is reported (__init__ files with only a single comment line are now
- not reported)
-- fixed bug that caused the test runner to hang when running subprocesses (as a
- result Python 2.3 is no longer supported).
-- there is apparently a bug in Python 2.6 (related to
- http://bugs.python.org/issue1303673) that causes the profile tests to fail.
-- added explanitory notes to buildout.cfg about how to run the tests with
- multiple versions of Python
-
-
-3.7.1 (2008-10-17)
-==================
-
-- The setupstack temporary-directory support now properly handles
- read-only files by making them writable before removing them.
-
-
-3.7.0 (2008-09-22)
-==================
-
-- Added an alterate setuptools / distutils commands for running all tests
- using our testrunner. See 'zope.testing.testrunner.eggsupport:ftest'.
-
-- Added a setuptools-compatible test loader which skips tests with layers:
- the testrunner used by 'setup.py test' doesn't know about them, and those
- tests then fail. See 'zope.testing.testrunner.eggsupport:SkipLayers'.
-
-- Added support for Jython, when a garbage collector call is sent.
-
-- Added support to bootstrap on Jython.
-
-- Fixed NameError in StartUpFailure.
-
-- Open doctest files in universal mode, so that packages released on Windows
- can be tested on Linux, for example.
-
-
-3.6.0 (2008/07/10)
-==================
-
-- Added -j option to parallel tests run in subprocesses.
-
-- RENormalizer accepts plain Python callables.
-
-- Added --slow-test option.
-
-- Added --no-progress and --auto-progress options.
-
-- Complete refactoring of the test runner into multiple code files and a more
- modular (pipeline-like) architecture.
-
-- Unified unit tests with the layer support by introducing a real unit test
- layer.
-
-- Added a doctest for ``zope.testing.module``. There were several bugs
- that were fixed:
-
- * ``README.txt`` was a really bad default argument for the module
- name, as it is not a proper dotted name. The code would
- immediately fail as it would look for the ``txt`` module in the
- ``README`` package. The default is now ``__main__``.
-
- * The tearDown function did not clean up the ``__name__`` entry in the
- global dictionary.
-
-- Fix a bug that caused a SubprocessError to be generated if a subprocess
- sent any output to stderr.
-
-- Fix a bug that caused the unit tests to be skipped if run in a subprocess.
-
-
-3.5.1 (2007/08/14)
-==================
-
-Bugs Fixed:
------------
-
-- Post-mortem debugging wasn't invoked for layer-setup failures.
-
-3.5.0 (2007/07/19)
-==================
-
-New Features
-------------
-
-- The test runner now works on Python 2.5.
-
-- Added support for cProfile.
-
-- Added output colorizing (-c option).
-
-- Added --hide-secondary-failures and --show-secondary-failures options
- (https://bugs.launchpad.net/zope3/+bug/115454).
-
-Bugs Fixed:
------------
-
-- Fix some problems with Unicode in doctests.
-
-- Fix "Error reading from subprocess" errors on Unix-like systems.
-
-3.4 (2007/03/29)
-================
-
-New Features
-------------
-
-- Added exit-with-status support (supports use with buildbot and
- zc.recipe.testing)
-
-- Added a small framework for automating set up and tear down of
- doctest tests. See setupstack.txt.
-
-Bugs Fixed:
------------
-
-- Fix testrunner-wo-source.txt and testrunner-errors.txt to run with a
- read-only source tree.
-
-3.0 (2006/09/20)
-================
-
-- Updated the doctest copy with text-file encoding support.
-
-- Added logging-level support to loggingsuppport module.
-
-- At verbosity-level 1, dots are not output continuously, without any
- line breaks.
-
-- Improved output when the inability to tear down a layer causes tests
- to be run in a subprocess.
-
-- Made zope.exception required only if the zope_tracebacks extra is
- requested.
-
-2.x.y (???)
-===========
-
-- Fix the test coverage. If a module, for example `interfaces`, was in an
- ignored directory/package, then if a module of the same name existed in a
- covered directory/package, then it was also ignored there, because the
- ignore cache stored the result by module name and not the filename of the
- module.
-
-2.0 (2006/01/05)
-================
-
-- Corresponds to the version of the zope.testing package shipped as part of
- the Zope 3.2.0 release.
Deleted: zope.testing/trunk/COPYRIGHT.txt
===================================================================
--- zope.testing/trunk/COPYRIGHT.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/COPYRIGHT.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1 +0,0 @@
-Zope Foundation and Contributors
\ No newline at end of file
Deleted: zope.testing/trunk/LICENSE.txt
===================================================================
--- zope.testing/trunk/LICENSE.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/LICENSE.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -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.testing/trunk/MANIFEST.in
===================================================================
--- zope.testing/trunk/MANIFEST.in 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/MANIFEST.in 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,3 +0,0 @@
-include *.txt *.py buildout.cfg
-recursive-include src *.py *.txt *.test sampletests
-# I found no way to include the three empty "sampletests" directories into the sdist :/
Added: zope.testing/trunk/MOVED_TO_GITHUB
===================================================================
--- zope.testing/trunk/MOVED_TO_GITHUB (rev 0)
+++ zope.testing/trunk/MOVED_TO_GITHUB 2013-02-19 18:07:03 UTC (rev 129484)
@@ -0,0 +1 @@
+See https://github.com/zopefoundation/zope.testing
Deleted: zope.testing/trunk/README.txt
===================================================================
--- zope.testing/trunk/README.txt 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/README.txt 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,62 +0,0 @@
-************
-zope.testing
-************
-
-.. contents::
-
-This package provides a number of testing frameworks.
-
-cleanup
- Provides a mixin class for cleaning up after tests that
- make global changes.
-
-formparser
- An HTML parser that extracts form information.
-
- **Python 2 only**
-
- This is intended to support functional tests that need to extract
- information from HTML forms returned by the publisher.
-
- See formparser.txt.
-
-loggingsupport
- Support for testing logging code
-
- If you want to test that your code generates proper log output, you
- can create and install a handler that collects output.
-
-loghandler
- Logging handler for tests that check logging output.
-
-module
- Lets a doctest pretend to be a Python module.
-
- See module.txt.
-
-renormalizing
- Regular expression pattern normalizing output checker.
- Useful for doctests.
-
-server
- Provides a simple HTTP server compatible with the zope.app.testing
- functional testing API. Lets you interactively play with the system
- under test. Helpful in debugging functional doctest failures.
-
- **Python 2 only**
-
-setupstack
- A simple framework for automating doctest set-up and tear-down.
- See setupstack.txt.
-
-wait
- A small utility for dealing with timing non-determinism
- See wait.txt.
-
-Getting started
-***************
-
-zope.testing uses buildout. To start, run ``python bootstrap.py``. It will
-create a number of directories and the ``bin/buildout`` script. Next, run
-``bin/buildout``. It will create a test script for you. Now, run ``bin/test``
-to run the zope.testing test suite.
Deleted: zope.testing/trunk/bootstrap.py
===================================================================
--- zope.testing/trunk/bootstrap.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/bootstrap.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,260 +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, textwrap, urllib, urllib2, subprocess
-from optparse import OptionParser
-
-if sys.platform == 'win32':
- def quote(c):
- if ' ' in c:
- return '"%s"' % c # work around spawn lamosity on windows
- else:
- return c
-else:
- quote = str
-
-# See zc.buildout.easy_install._has_broken_dash_S for motivation and comments.
-stdout, stderr = subprocess.Popen(
- [sys.executable, '-Sc',
- 'try:\n'
- ' import ConfigParser\n'
- 'except ImportError:\n'
- ' print 1\n'
- 'else:\n'
- ' print 0\n'],
- stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
-has_broken_dash_S = bool(int(stdout.strip()))
-
-# In order to be more robust in the face of system Pythons, we want to
-# run without site-packages loaded. This is somewhat tricky, in
-# particular because Python 2.6's distutils imports site, so starting
-# with the -S flag is not sufficient. However, we'll start with that:
-if not has_broken_dash_S and 'site' in sys.modules:
- # We will restart with python -S.
- args = sys.argv[:]
- args[0:0] = [sys.executable, '-S']
- args = map(quote, args)
- os.execv(sys.executable, args)
-# Now we are running with -S. We'll get the clean sys.path, import site
-# because distutils will do it later, and then reset the path and clean
-# out any namespace packages from site-packages that might have been
-# loaded by .pth files.
-clean_path = sys.path[:]
-import site
-sys.path[:] = clean_path
-for k, v in sys.modules.items():
- if k in ('setuptools', 'pkg_resources') or (
- hasattr(v, '__path__') and
- len(v.__path__)==1 and
- not os.path.exists(os.path.join(v.__path__[0],'__init__.py'))):
- # This is a namespace package. Remove it.
- sys.modules.pop(k)
-
-is_jython = sys.platform.startswith('java')
-
-setuptools_source = 'http://peak.telecommunity.com/dist/ez_setup.py'
-distribute_source = 'http://python-distribute.org/distribute_setup.py'
-
-# parsing arguments
-def normalize_to_url(option, opt_str, value, parser):
- if value:
- if '://' not in value: # It doesn't smell like a URL.
- value = 'file://%s' % (
- urllib.pathname2url(
- os.path.abspath(os.path.expanduser(value))),)
- if opt_str == '--download-base' and not value.endswith('/'):
- # Download base needs a trailing slash to make the world happy.
- value += '/'
- else:
- value = None
- name = opt_str[2:].replace('-', '_')
- setattr(parser.values, name, value)
-
-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", dest="version",
- help="use a specific zc.buildout version")
-parser.add_option("-d", "--distribute",
- action="store_true", dest="use_distribute", default=False,
- help="Use Distribute rather than Setuptools.")
-parser.add_option("--setup-source", action="callback", dest="setup_source",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or file location for the setup file. "
- "If you use Setuptools, this will default to " +
- setuptools_source + "; if you use Distribute, this "
- "will default to " + distribute_source +"."))
-parser.add_option("--download-base", action="callback", dest="download_base",
- callback=normalize_to_url, nargs=1, type="string",
- help=("Specify a URL or directory for downloading "
- "zc.buildout and either Setuptools or Distribute. "
- "Defaults to PyPI."))
-parser.add_option("--eggs",
- help=("Specify a directory for storing eggs. Defaults to "
- "a temporary directory that is deleted when the "
- "bootstrap script completes."))
-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", None, action="store", dest="config_file",
- help=("Specify the path to the buildout configuration "
- "file to be used."))
-
-options, args = parser.parse_args()
-
-# if -c was provided, we push it back into args for buildout's main function
-if options.config_file is not None:
- args += ['-c', options.config_file]
-
-if options.eggs:
- eggs_dir = os.path.abspath(os.path.expanduser(options.eggs))
-else:
- eggs_dir = tempfile.mkdtemp()
-
-if options.setup_source is None:
- if options.use_distribute:
- options.setup_source = distribute_source
- else:
- options.setup_source = setuptools_source
-
-if options.accept_buildout_test_releases:
- args.append('buildout:accept-buildout-test-releases=true')
-args.append('bootstrap')
-
-try:
- import pkg_resources
- import setuptools # A flag. Sometimes pkg_resources is installed alone.
- if not hasattr(pkg_resources, '_distribute'):
- raise ImportError
-except ImportError:
- ez_code = urllib2.urlopen(
- options.setup_source).read().replace('\r\n', '\n')
- ez = {}
- exec ez_code in ez
- setup_args = dict(to_dir=eggs_dir, download_delay=0)
- if options.download_base:
- setup_args['download_base'] = options.download_base
- if options.use_distribute:
- setup_args['no_fake'] = True
- ez['use_setuptools'](**setup_args)
- if 'pkg_resources' in sys.modules:
- reload(sys.modules['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)
-
-cmd = [quote(sys.executable),
- '-c',
- quote('from setuptools.command.easy_install import main; main()'),
- '-mqNxd',
- quote(eggs_dir)]
-
-if not has_broken_dash_S:
- cmd.insert(1, '-S')
-
-find_links = options.download_base
-if not find_links:
- find_links = os.environ.get('bootstrap-testing-find-links')
-if find_links:
- cmd.extend(['-f', quote(find_links)])
-
-if options.use_distribute:
- setup_requirement = 'distribute'
-else:
- setup_requirement = 'setuptools'
-ws = pkg_resources.working_set
-setup_requirement_path = ws.find(
- pkg_resources.Requirement.parse(setup_requirement)).location
-env = dict(
- os.environ,
- PYTHONPATH=setup_requirement_path)
-
-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=[setup_requirement_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)
-
-if is_jython:
- import subprocess
- exitcode = subprocess.Popen(cmd, env=env).wait()
-else: # Windows prefers this, apparently; otherwise we would prefer subprocess
- exitcode = os.spawnle(*([os.P_WAIT, sys.executable] + cmd + [env]))
-if exitcode != 0:
- sys.stdout.flush()
- sys.stderr.flush()
- print ("An error occurred when trying to install zc.buildout. "
- "Look above this message for any errors that "
- "were output by easy_install.")
- sys.exit(exitcode)
-
-ws.add_entry(eggs_dir)
-ws.require(requirement)
-import zc.buildout.buildout
-zc.buildout.buildout.main(args)
-if not options.eggs: # clean up temporary egg directory
- shutil.rmtree(eggs_dir)
Deleted: zope.testing/trunk/buildout.cfg
===================================================================
--- zope.testing/trunk/buildout.cfg 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/buildout.cfg 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,46 +0,0 @@
-[buildout]
-develop = .
-parts =
- test
-unzip = true
-
-[test]
-recipe = zc.recipe.testrunner
-eggs =
- zope.testing
-
-# The [test2X] sections below are to make testing with various Python versions
-# easier. You'll need entries in your $HOME/.buildout/default.cfg that point
-# to the location # that your various versions of Python are installed.
-# Like so:
-#
-# [python2.4]
-# executable = /usr/local/bin/python2.4
-#
-# And then run "bin/buildout install test24 test25 test26 test27" to build the
-# version-specific test scripts. Once that's done you ran run "bin/test24"
-# (etc.).
-
-[test24]
-python = python2.4
-recipe = zc.recipe.testrunner
-eggs =
- zope.testing
-
-[test25]
-python = python2.5
-recipe = zc.recipe.testrunner
-eggs =
- zope.testing
-
-[test26]
-python = python2.6
-recipe = zc.recipe.testrunner
-eggs =
- zope.testing
-
-[test27]
-python = python2.7
-recipe = zc.recipe.testrunner
-eggs =
- zope.testing
Deleted: zope.testing/trunk/setup.py
===================================================================
--- zope.testing/trunk/setup.py 2013-02-19 17:47:33 UTC (rev 129483)
+++ zope.testing/trunk/setup.py 2013-02-19 18:07:03 UTC (rev 129484)
@@ -1,98 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2004 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.
-##############################################################################
-"""Setup for zope.testing package
-"""
-
-import os
-from setuptools import setup
-import sys
-if sys.version > '3':
- extras = dict(
- use_2to3 = True,
- convert_2to3_doctests = ['src/zope/testing/doctest.txt',
- 'src/zope/testing/formparser.txt',
- 'src/zope/testing/module.txt',
- 'src/zope/testing/setupstack.txt',
- ],
- dependency_links = ['.'], # Only until zope.interface 3.6 and zope.exception 3.6 has been released.
- )
-else:
- extras = {}
-
-chapters = '\n'.join([
- open(os.path.join('src', 'zope', 'testing', name)).read()
- for name in (
- 'formparser.txt',
- 'loggingsupport.txt',
- 'renormalizing.txt',
- 'setupstack.txt',
- 'wait.txt',
- )])
-
-long_description=(
- open('README.txt').read()
- + '\n' +
- 'Detailed Documentation\n'
- '**********************\n'
- + '\n' + chapters
- + '\n' + open('CHANGES.txt').read()
- )
-
-setup(
- name='zope.testing',
- version = '4.1.2dev',
- url='http://pypi.python.org/pypi/zope.testing',
- license='ZPL 2.1',
- description='Zope testing helpers',
- long_description=long_description,
- author='Zope Foundation and Contributors',
- author_email='zope-dev at zope.org',
- classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: Zope Public License",
- "Operating System :: OS Independent",
- "Programming Language :: Python",
- "Programming Language :: Python :: 2",
- "Programming Language :: Python :: 2.4",
- "Programming Language :: Python :: 2.5",
- "Programming Language :: Python :: 2.6",
- "Programming Language :: Python :: 2.7",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.1",
- "Programming Language :: Python :: 3.2",
- "Framework :: Zope3",
- "Topic :: Software Development :: Libraries :: Python Modules",
- "Topic :: Software Development :: Testing",
- ],
-
- packages=["zope",
- "zope.testing",
- "zope.testing.doctest",
- "zope.testing.renormalizing"],
- package_dir = {'': 'src'},
- namespace_packages=['zope',],
- install_requires = ['setuptools',
- 'zope.exceptions',
- 'zope.interface'],
- include_package_data = True,
- zip_safe = False,
- test_suite = 'zope.testing.tests.test_suite',
- **extras
-)
More information about the Zope3-Checkins
mailing list