Commit eb0cde20 authored by Stephan Richter's avatar Stephan Richter

- Allow testing without checkouts of unreleased zope.publisher and ZODB.

- Added Python 3 Trove classifiers.
parent 9485e969
...@@ -5,7 +5,9 @@ CHANGES ...@@ -5,7 +5,9 @@ CHANGES
4.0.0a2 (unreleased) 4.0.0a2 (unreleased)
-------------------- --------------------
- Nothing changed yet. - Allow testing without checkouts of unreleased zope.publisher and ZODB.
- Added Python 3 Trove classifiers.
4.0.0a1 (2013-02-20) 4.0.0a1 (2013-02-20)
......
[buildout] [buildout]
develop = . develop = .
../zope.publisher find-links =
../ZODB ${buildout:directory}/zope.publisher-4.0.0dev.tar.gz
${buildout:directory}/ZODB-4.0.0dev.tar.gz
parts = test parts = test
# graph coverage-test coverage-report # graph coverage-test coverage-report
......
...@@ -63,6 +63,9 @@ setup(name='zope.container', ...@@ -63,6 +63,9 @@ setup(name='zope.container',
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
......
############################################################################## ##############################################################################
# Copyright (c) 2003 Zope Foundation and Contributors. # Copyright (c) 2003 Zope Foundation and Contributors.
# All Rights Reserved. # All Rights Reserved.
# #
# This software is subject to the provisions of the Zope Public License, # 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. # 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 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
...@@ -53,7 +53,7 @@ class Cloner(object): ...@@ -53,7 +53,7 @@ class Cloner(object):
self.context = context self.context = context
def __call__(self, name): def __call__(self, name):
# We remove the security proxy so we can actually call the # We remove the security proxy so we can actually call the
# class and return an unproxied new object. (We can't use a # class and return an unproxied new object. (We can't use a
# trusted adapter, because the result must be unproxied.) By # trusted adapter, because the result must be unproxied.) By
......
...@@ -3,24 +3,25 @@ envlist = py26,py27,py33 ...@@ -3,24 +3,25 @@ envlist = py26,py27,py33
[testenv] [testenv]
commands = python setup.py test -q commands = python setup.py test -q
deps = zope.testrunner deps =
zope.testing {toxinidir}/zope.publisher-4.0.0dev.tar.gz
six zope.testrunner
zope.interface zope.testing
zope.dottedname six
zope.schema zope.interface
zope.component zope.dottedname
zope.event zope.schema
zope.location zope.component
zope.security zope.event
zope.lifecycleevent zope.location
zope.i18nmessageid zope.security
zope.filerepresentation zope.lifecycleevent
zope.size zope.i18nmessageid
zope.traversing zope.filerepresentation
zope.publisher zope.size
persistent zope.traversing
BTrees persistent
BTrees
[testenv:coverage] [testenv:coverage]
basepython = basepython =
...@@ -33,6 +34,7 @@ commands = ...@@ -33,6 +34,7 @@ commands =
pip install -e . pip install -e .
nosetests --with-xunit --with-xcoverage nosetests --with-xunit --with-xcoverage
deps = deps =
{toxinidir}/zope.publisher-4.0.0dev.tar.gz
nose nose
coverage coverage
nosexcover nosexcover
...@@ -45,12 +47,11 @@ deps = ...@@ -45,12 +47,11 @@ deps =
zope.component zope.component
zope.event zope.event
zope.location zope.location
zope.security zope.security>=4.0.0a3
zope.lifecycleevent zope.lifecycleevent
zope.i18nmessageid zope.i18nmessageid
zope.filerepresentation zope.filerepresentation
zope.size zope.size
zope.traversing zope.traversing
zope.publisher
persistent persistent
BTrees BTrees
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment