zope.app.container-3.9.2/ 0000775 0001771 0002004 00000000000 11707310374 016373 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/setup.py 0000664 0001771 0002004 00000006121 11707310352 020101 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# 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.
#
##############################################################################
"""Setup for zope.app.container package
$Id: setup.py 124145 2012-01-23 16:54:20Z menesis $
"""
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.app.container',
version='3.9.2',
author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org',
description='Zope Container',
long_description=(
read('README.txt')
+ '\n\n' +
read('CHANGES.txt')
),
keywords = "zope3 container",
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Zope Public License',
'Programming Language :: Python',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'],
url='http://cheeseshop.python.org/pypi/zope.app.container',
license='ZPL 2.1',
packages=find_packages('src'),
package_dir = {'': 'src'},
namespace_packages=['zope', 'zope.app'],
extras_require=dict(test=['zope.app.testing',
'zope.app.zcmlfiles',
'zope.login',
'zope.password',
'zope.securitypolicy',
'zope.schema',
'zope.site',
]),
install_requires=['setuptools',
'zope.browser',
'zope.browsermenu',
'zope.browserpage',
'zope.component',
'zope.container',
'zope.copypastemove',
'zope.dublincore >= 3.7',
'zope.event',
'zope.exceptions',
'zope.i18n',
'zope.i18nmessageid',
'zope.interface',
'zope.lifecycleevent',
'zope.location',
'zope.publisher >= 3.12',
'zope.security',
'zope.size',
'zope.traversing',
],
include_package_data = True,
zip_safe = False,
)
zope.app.container-3.9.2/CHANGES.txt 0000664 0001771 0002004 00000011006 11707310352 020176 0 ustar menesis menesis 0000000 0000000 =======
CHANGES
=======
3.9.2 (2012-01-23)
------------------
- Replaced an undeclared test dependency on ``zope.app.authentication`` with
``zope.password``.
- Removed undeclared test dependency on ``zope.app.folder``.
- Replaced the use of ``zope.app.pagetemplate`` and deprecated
``zope.app.publisher`` with ``zope.browserpage`` and ``zope.browsermenu``.
3.9.1 (2010-09-14)
------------------
- Removed a testing dependency on ``zope.app.file``.
- Replaced a testing dependency on ``zope.app.securitypolicy`` with the base
``zope.securitypolicy`` distribution.
3.9.0 (2010-08-19)
------------------
- Updated ``ftesting.zcml`` to use the new permission names exported by
``zope.dublincore`` 3.7.
3.8.2 (2010-01-08)
------------------
- Fixed tests using a newer zope.publisher that requires zope.login.
3.8.1 (2009-12-26)
------------------
- Fixed test_directive. Some parts of zope.app.publisher were moved
to zope.browsermenu and zope.browserpage.
- Moved tests/test_view_permissions.py to browser/tests.
- Added undeclared install dependency on ``zope.app.publisher``.
- Test no longer use deprecated ``zope.testing.doctestunit`` but
python's ``doctest`` instead.
3.8.0 (2009-05-13)
------------------
- Moved ``IAdding`` interface to ``zope.browser.interfaces``, leaving
BBB imports.
3.7.2 (2009-03-12)
------------------
- Show a "nothing to add" message instead of empty list in the
adding view, if there's nothing to add.
- Don't show the "Add" menu item if there's nothing to add.
- Adapt to the removal of deprecated interfaces from
``zope.component.interfaces``. Now ``IAdding`` inherits from
``zope.publisher.interfaces.browser.IBrowserView``.
3.7.1 (2009-02-05)
-------------------
- Updated test to accomodate "Pythonic" exception now raised from
``__setitem__`` provided by ``zope.container`` (``KeyError`` instead
of ``zope.exceptions.UserError``).
3.7.0 (2009-01-31)
------------------
- Remove long-time deprecated ``IContentContainer`` class.
- We now rely on a new package called ``zope.container``, which
contains the basic implementation of ``zope.container`` and is
intended to have less dependencies. We have gone through a wide
range of packages and updated their dependencies to point to
``zope.container`` so that they will also have less indirect
dependencies.
For backwards compatibility we have left the original modules in
``zope.app.container`` in place and have placed imports to make sure
the symbols exist in their original locations.
3.6.2 (2008-10-21)
------------------
- Fixed bug in ``_zope_app_container_contained.c``.
3.6.1 (2008-10-15)
------------------
- Reimplemented the ``BTreeContainer`` so that it directly accesses the btree
methods (removed an old #TODO)
- Removed usage of deprecated ``LayerField``.
- Made C code compatible with Python 2.5 on 64bit architectures.
- Fixed bug: Error thrown during ``__setitem__`` for an ordered container
leaves bad key in order
- Fixed https://bugs.launchpad.net/zope3/+bug/238579,
https://bugs.launchpad.net/zope3/+bug/163149: Error with unicode
traversing
- Fixed https://bugs.launchpad.net/zope3/+bug/221025: The Adding menu
is sorted with translated item by using a collator (better localized
sorting)
- Fixed https://bugs.launchpad.net/zope3/+bug/227617:
- prevent the namechooser from failing on '+', '@' and '/'
- added tests in the namechooser
- be sure the name chooser returns unicode
- Fixed https://bugs.launchpad.net/zope3/+bug/175388: The setitem's
size modification is now done in ``setitemf``: setting an existing
item does not change the size, and the event subscribers should see
the new size instead of the old size.
3.6.0 (2008-05-06)
------------------
- Added an ``IBTreeContainer`` interface that allows an argument to the
``items``, ``keys``, and ``values`` methods with the same semantics as for
a BTree object. The extended interface is implemented by the
``BTreeContainer`` class.
3.5 (2007-10-11)
----------------
- Updated bootstrap script to current version.
- Store length of ``BTreeContainer`` in its own ``Length`` object for faster
``__len__`` implementation of huge containers.
- Send ``IObjectModifiedEvent`` when changing the title through the
``@@contents.html`` view.
This fixes https://bugs.edge.launchpad.net/zope3/+bug/98483.
- Resolve ``ZopeSecurityPolicy`` and ``IRolePermissionManager`` deprecation
warning.
3.4 (2007-04-22)
----------------
- Initial release as a separate project, corresponds to ``zope.app.container``
from Zope 3.4.0a1.
zope.app.container-3.9.2/PKG-INFO 0000664 0001771 0002004 00000015145 11707310374 017476 0 ustar menesis menesis 0000000 0000000 Metadata-Version: 1.1
Name: zope.app.container
Version: 3.9.2
Summary: Zope Container
Home-page: http://cheeseshop.python.org/pypi/zope.app.container
Author: Zope Corporation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: This package define interfaces of container components, and provides
sample container implementations such as a BTreeContainer and
OrderedContainer.
=======
CHANGES
=======
3.9.2 (2012-01-23)
------------------
- Replaced an undeclared test dependency on ``zope.app.authentication`` with
``zope.password``.
- Removed undeclared test dependency on ``zope.app.folder``.
- Replaced the use of ``zope.app.pagetemplate`` and deprecated
``zope.app.publisher`` with ``zope.browserpage`` and ``zope.browsermenu``.
3.9.1 (2010-09-14)
------------------
- Removed a testing dependency on ``zope.app.file``.
- Replaced a testing dependency on ``zope.app.securitypolicy`` with the base
``zope.securitypolicy`` distribution.
3.9.0 (2010-08-19)
------------------
- Updated ``ftesting.zcml`` to use the new permission names exported by
``zope.dublincore`` 3.7.
3.8.2 (2010-01-08)
------------------
- Fixed tests using a newer zope.publisher that requires zope.login.
3.8.1 (2009-12-26)
------------------
- Fixed test_directive. Some parts of zope.app.publisher were moved
to zope.browsermenu and zope.browserpage.
- Moved tests/test_view_permissions.py to browser/tests.
- Added undeclared install dependency on ``zope.app.publisher``.
- Test no longer use deprecated ``zope.testing.doctestunit`` but
python's ``doctest`` instead.
3.8.0 (2009-05-13)
------------------
- Moved ``IAdding`` interface to ``zope.browser.interfaces``, leaving
BBB imports.
3.7.2 (2009-03-12)
------------------
- Show a "nothing to add" message instead of empty list in the
adding view, if there's nothing to add.
- Don't show the "Add" menu item if there's nothing to add.
- Adapt to the removal of deprecated interfaces from
``zope.component.interfaces``. Now ``IAdding`` inherits from
``zope.publisher.interfaces.browser.IBrowserView``.
3.7.1 (2009-02-05)
-------------------
- Updated test to accomodate "Pythonic" exception now raised from
``__setitem__`` provided by ``zope.container`` (``KeyError`` instead
of ``zope.exceptions.UserError``).
3.7.0 (2009-01-31)
------------------
- Remove long-time deprecated ``IContentContainer`` class.
- We now rely on a new package called ``zope.container``, which
contains the basic implementation of ``zope.container`` and is
intended to have less dependencies. We have gone through a wide
range of packages and updated their dependencies to point to
``zope.container`` so that they will also have less indirect
dependencies.
For backwards compatibility we have left the original modules in
``zope.app.container`` in place and have placed imports to make sure
the symbols exist in their original locations.
3.6.2 (2008-10-21)
------------------
- Fixed bug in ``_zope_app_container_contained.c``.
3.6.1 (2008-10-15)
------------------
- Reimplemented the ``BTreeContainer`` so that it directly accesses the btree
methods (removed an old #TODO)
- Removed usage of deprecated ``LayerField``.
- Made C code compatible with Python 2.5 on 64bit architectures.
- Fixed bug: Error thrown during ``__setitem__`` for an ordered container
leaves bad key in order
- Fixed https://bugs.launchpad.net/zope3/+bug/238579,
https://bugs.launchpad.net/zope3/+bug/163149: Error with unicode
traversing
- Fixed https://bugs.launchpad.net/zope3/+bug/221025: The Adding menu
is sorted with translated item by using a collator (better localized
sorting)
- Fixed https://bugs.launchpad.net/zope3/+bug/227617:
- prevent the namechooser from failing on '+', '@' and '/'
- added tests in the namechooser
- be sure the name chooser returns unicode
- Fixed https://bugs.launchpad.net/zope3/+bug/175388: The setitem's
size modification is now done in ``setitemf``: setting an existing
item does not change the size, and the event subscribers should see
the new size instead of the old size.
3.6.0 (2008-05-06)
------------------
- Added an ``IBTreeContainer`` interface that allows an argument to the
``items``, ``keys``, and ``values`` methods with the same semantics as for
a BTree object. The extended interface is implemented by the
``BTreeContainer`` class.
3.5 (2007-10-11)
----------------
- Updated bootstrap script to current version.
- Store length of ``BTreeContainer`` in its own ``Length`` object for faster
``__len__`` implementation of huge containers.
- Send ``IObjectModifiedEvent`` when changing the title through the
``@@contents.html`` view.
This fixes https://bugs.edge.launchpad.net/zope3/+bug/98483.
- Resolve ``ZopeSecurityPolicy`` and ``IRolePermissionManager`` deprecation
warning.
3.4 (2007-04-22)
----------------
- Initial release as a separate project, corresponds to ``zope.app.container``
from Zope 3.4.0a1.
Keywords: zope3 container
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope3
zope.app.container-3.9.2/bootstrap.py 0000664 0001771 0002004 00000003502 11707310352 020756 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# 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: bootstrap.py 124135 2012-01-23 15:32:45Z menesis $
"""
import os, shutil, sys, tempfile, urllib2
tmpeggs = tempfile.mkdtemp()
try:
import pkg_resources
except ImportError:
ez = {}
exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
).read() in ez
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
import pkg_resources
cmd = 'from setuptools.command.easy_install import main; main()'
if sys.platform == 'win32':
cmd = '"%s"' % cmd # work around spawn lamosity on windows
ws = pkg_resources.working_set
assert os.spawnle(
os.P_WAIT, sys.executable, sys.executable,
'-c', cmd, '-mqNxd', tmpeggs, 'zc.buildout',
dict(os.environ,
PYTHONPATH=
ws.find(pkg_resources.Requirement.parse('setuptools')).location
),
) == 0
ws.add_entry(tmpeggs)
ws.require('zc.buildout')
import zc.buildout.buildout
zc.buildout.buildout.main(sys.argv[1:] + ['bootstrap'])
shutil.rmtree(tmpeggs)
zope.app.container-3.9.2/COPYRIGHT.txt 0000664 0001771 0002004 00000000040 11707310352 020472 0 ustar menesis menesis 0000000 0000000 Zope Foundation and Contributors zope.app.container-3.9.2/src/ 0000775 0001771 0002004 00000000000 11707310374 017162 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope.app.container.egg-info/ 0000775 0001771 0002004 00000000000 11707310374 024371 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope.app.container.egg-info/PKG-INFO 0000664 0001771 0002004 00000015145 11707310367 025476 0 ustar menesis menesis 0000000 0000000 Metadata-Version: 1.1
Name: zope.app.container
Version: 3.9.2
Summary: Zope Container
Home-page: http://cheeseshop.python.org/pypi/zope.app.container
Author: Zope Corporation and Contributors
Author-email: zope-dev@zope.org
License: ZPL 2.1
Description: This package define interfaces of container components, and provides
sample container implementations such as a BTreeContainer and
OrderedContainer.
=======
CHANGES
=======
3.9.2 (2012-01-23)
------------------
- Replaced an undeclared test dependency on ``zope.app.authentication`` with
``zope.password``.
- Removed undeclared test dependency on ``zope.app.folder``.
- Replaced the use of ``zope.app.pagetemplate`` and deprecated
``zope.app.publisher`` with ``zope.browserpage`` and ``zope.browsermenu``.
3.9.1 (2010-09-14)
------------------
- Removed a testing dependency on ``zope.app.file``.
- Replaced a testing dependency on ``zope.app.securitypolicy`` with the base
``zope.securitypolicy`` distribution.
3.9.0 (2010-08-19)
------------------
- Updated ``ftesting.zcml`` to use the new permission names exported by
``zope.dublincore`` 3.7.
3.8.2 (2010-01-08)
------------------
- Fixed tests using a newer zope.publisher that requires zope.login.
3.8.1 (2009-12-26)
------------------
- Fixed test_directive. Some parts of zope.app.publisher were moved
to zope.browsermenu and zope.browserpage.
- Moved tests/test_view_permissions.py to browser/tests.
- Added undeclared install dependency on ``zope.app.publisher``.
- Test no longer use deprecated ``zope.testing.doctestunit`` but
python's ``doctest`` instead.
3.8.0 (2009-05-13)
------------------
- Moved ``IAdding`` interface to ``zope.browser.interfaces``, leaving
BBB imports.
3.7.2 (2009-03-12)
------------------
- Show a "nothing to add" message instead of empty list in the
adding view, if there's nothing to add.
- Don't show the "Add" menu item if there's nothing to add.
- Adapt to the removal of deprecated interfaces from
``zope.component.interfaces``. Now ``IAdding`` inherits from
``zope.publisher.interfaces.browser.IBrowserView``.
3.7.1 (2009-02-05)
-------------------
- Updated test to accomodate "Pythonic" exception now raised from
``__setitem__`` provided by ``zope.container`` (``KeyError`` instead
of ``zope.exceptions.UserError``).
3.7.0 (2009-01-31)
------------------
- Remove long-time deprecated ``IContentContainer`` class.
- We now rely on a new package called ``zope.container``, which
contains the basic implementation of ``zope.container`` and is
intended to have less dependencies. We have gone through a wide
range of packages and updated their dependencies to point to
``zope.container`` so that they will also have less indirect
dependencies.
For backwards compatibility we have left the original modules in
``zope.app.container`` in place and have placed imports to make sure
the symbols exist in their original locations.
3.6.2 (2008-10-21)
------------------
- Fixed bug in ``_zope_app_container_contained.c``.
3.6.1 (2008-10-15)
------------------
- Reimplemented the ``BTreeContainer`` so that it directly accesses the btree
methods (removed an old #TODO)
- Removed usage of deprecated ``LayerField``.
- Made C code compatible with Python 2.5 on 64bit architectures.
- Fixed bug: Error thrown during ``__setitem__`` for an ordered container
leaves bad key in order
- Fixed https://bugs.launchpad.net/zope3/+bug/238579,
https://bugs.launchpad.net/zope3/+bug/163149: Error with unicode
traversing
- Fixed https://bugs.launchpad.net/zope3/+bug/221025: The Adding menu
is sorted with translated item by using a collator (better localized
sorting)
- Fixed https://bugs.launchpad.net/zope3/+bug/227617:
- prevent the namechooser from failing on '+', '@' and '/'
- added tests in the namechooser
- be sure the name chooser returns unicode
- Fixed https://bugs.launchpad.net/zope3/+bug/175388: The setitem's
size modification is now done in ``setitemf``: setting an existing
item does not change the size, and the event subscribers should see
the new size instead of the old size.
3.6.0 (2008-05-06)
------------------
- Added an ``IBTreeContainer`` interface that allows an argument to the
``items``, ``keys``, and ``values`` methods with the same semantics as for
a BTree object. The extended interface is implemented by the
``BTreeContainer`` class.
3.5 (2007-10-11)
----------------
- Updated bootstrap script to current version.
- Store length of ``BTreeContainer`` in its own ``Length`` object for faster
``__len__`` implementation of huge containers.
- Send ``IObjectModifiedEvent`` when changing the title through the
``@@contents.html`` view.
This fixes https://bugs.edge.launchpad.net/zope3/+bug/98483.
- Resolve ``ZopeSecurityPolicy`` and ``IRolePermissionManager`` deprecation
warning.
3.4 (2007-04-22)
----------------
- Initial release as a separate project, corresponds to ``zope.app.container``
from Zope 3.4.0a1.
Keywords: zope3 container
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Zope Public License
Classifier: Programming Language :: Python
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Framework :: Zope3
zope.app.container-3.9.2/src/zope.app.container.egg-info/dependency_links.txt 0000664 0001771 0002004 00000000001 11707310367 030441 0 ustar menesis menesis 0000000 0000000
zope.app.container-3.9.2/src/zope.app.container.egg-info/namespace_packages.txt 0000664 0001771 0002004 00000000016 11707310367 030723 0 ustar menesis menesis 0000000 0000000 zope
zope.app
zope.app.container-3.9.2/src/zope.app.container.egg-info/not-zip-safe 0000664 0001771 0002004 00000000001 11707310353 026614 0 ustar menesis menesis 0000000 0000000
zope.app.container-3.9.2/src/zope.app.container.egg-info/top_level.txt 0000664 0001771 0002004 00000000005 11707310367 027120 0 ustar menesis menesis 0000000 0000000 zope
zope.app.container-3.9.2/src/zope.app.container.egg-info/requires.txt 0000664 0001771 0002004 00000000630 11707310367 026772 0 ustar menesis menesis 0000000 0000000 setuptools
zope.browser
zope.browsermenu
zope.browserpage
zope.component
zope.container
zope.copypastemove
zope.dublincore >= 3.7
zope.event
zope.exceptions
zope.i18n
zope.i18nmessageid
zope.interface
zope.lifecycleevent
zope.location
zope.publisher >= 3.12
zope.security
zope.size
zope.traversing
[test]
zope.app.testing
zope.app.zcmlfiles
zope.login
zope.password
zope.securitypolicy
zope.schema
zope.site zope.app.container-3.9.2/src/zope.app.container.egg-info/SOURCES.txt 0000664 0001771 0002004 00000003775 11707310367 026273 0 ustar menesis menesis 0000000 0000000 CHANGES.txt
COPYRIGHT.txt
LICENSE.txt
README.txt
bootstrap.py
buildout.cfg
setup.py
src/zope/__init__.py
src/zope.app.container.egg-info/PKG-INFO
src/zope.app.container.egg-info/SOURCES.txt
src/zope.app.container.egg-info/dependency_links.txt
src/zope.app.container.egg-info/namespace_packages.txt
src/zope.app.container.egg-info/not-zip-safe
src/zope.app.container.egg-info/requires.txt
src/zope.app.container.egg-info/top_level.txt
src/zope/app/__init__.py
src/zope/app/container/__init__.py
src/zope/app/container/btree.py
src/zope/app/container/configure.zcml
src/zope/app/container/constraints.py
src/zope/app/container/contained.py
src/zope/app/container/dependency.py
src/zope/app/container/directory.py
src/zope/app/container/find.py
src/zope/app/container/ftesting.zcml
src/zope/app/container/i18n.py
src/zope/app/container/interfaces.py
src/zope/app/container/ordered.py
src/zope/app/container/sample.py
src/zope/app/container/size.py
src/zope/app/container/testing.py
src/zope/app/container/traversal.py
src/zope/app/container/browser/__init__.py
src/zope/app/container/browser/add.pt
src/zope/app/container/browser/adding.py
src/zope/app/container/browser/commontasks.pt
src/zope/app/container/browser/configure.zcml
src/zope/app/container/browser/contents.pt
src/zope/app/container/browser/contents.py
src/zope/app/container/browser/find.pt
src/zope/app/container/browser/find.py
src/zope/app/container/browser/index.pt
src/zope/app/container/browser/meta.zcml
src/zope/app/container/browser/metaconfigure.py
src/zope/app/container/browser/tests/__init__.py
src/zope/app/container/browser/tests/configure.zcml
src/zope/app/container/browser/tests/index.txt
src/zope/app/container/browser/tests/test_adding.py
src/zope/app/container/browser/tests/test_contents.py
src/zope/app/container/browser/tests/test_contents_functional.py
src/zope/app/container/browser/tests/test_directive.py
src/zope/app/container/browser/tests/test_view_permissions.py
src/zope/app/container/tests/__init__.py
src/zope/app/container/tests/placelesssetup.py zope.app.container-3.9.2/src/zope/ 0000775 0001771 0002004 00000000000 11707310374 020137 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope/__init__.py 0000664 0001771 0002004 00000000310 11707310352 022236 0 ustar menesis menesis 0000000 0000000 # this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
zope.app.container-3.9.2/src/zope/app/ 0000775 0001771 0002004 00000000000 11707310374 020717 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope/app/__init__.py 0000664 0001771 0002004 00000000310 11707310352 023016 0 ustar menesis menesis 0000000 0000000 # this is a namespace package
try:
import pkg_resources
pkg_resources.declare_namespace(__name__)
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
zope.app.container-3.9.2/src/zope/app/container/ 0000775 0001771 0002004 00000000000 11707310374 022701 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope/app/container/contained.py 0000664 0001771 0002004 00000002202 11707310352 025207 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2003 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.
#
##############################################################################
"""BBB this module moved to zope.container
"""
# BBB
from zope.container.contained import (
Contained,
ObjectMovedEvent,
ObjectAddedEvent,
ObjectRemovedEvent,
ContainerModifiedEvent,
dispatchToSublocations,
ContainerSublocations,
containedEvent,
contained,
notifyContainerModified,
setitem,
fixing_up,
uncontained,
NameChooser,
DecoratorSpecificationDescriptor,
DecoratedSecurityCheckerDescriptor,
ContainedProxyClassProvides,
ContainedProxy,
)
zope.app.container-3.9.2/src/zope/app/container/btree.py 0000664 0001771 0002004 00000001350 11707310352 024347 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2001, 2002 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.
#
##############################################################################
"""BBB this module moved to zope.container
"""
from zope.container.btree import BTreeContainer # BBB
zope.app.container-3.9.2/src/zope/app/container/ordered.py 0000664 0001771 0002004 00000001355 11707310352 024677 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2001, 2002 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.
#
##############################################################################
"""BBB: this module moved to zope.container
"""
# BBB
from zope.container.ordered import OrderedContainer
zope.app.container-3.9.2/src/zope/app/container/tests/ 0000775 0001771 0002004 00000000000 11707310374 024043 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope/app/container/tests/__init__.py 0000664 0001771 0002004 00000000075 11707310352 026152 0 ustar menesis menesis 0000000 0000000 #
# This file is necessary to make this directory a package.
zope.app.container-3.9.2/src/zope/app/container/tests/placelesssetup.py 0000664 0001771 0002004 00000001746 11707310352 027455 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2002 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.
#
##############################################################################
"""Unit test logic for setting up and tearing down basic infrastructure
"""
from zope.app.testing import ztapi
from zope.app.container.interfaces import IWriteContainer, INameChooser
from zope.app.container.contained import NameChooser
class PlacelessSetup(object):
def setUp(self):
ztapi.provideAdapter(IWriteContainer, INameChooser, NameChooser)
zope.app.container-3.9.2/src/zope/app/container/constraints.py 0000664 0001771 0002004 00000001652 11707310352 025622 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2003 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.
#
##############################################################################
"""BBB this module moved to zope.container
"""
# BBB
from zope.container.constraints import (
checkObject,
checkFactory,
IItemTypePrecondition,
_TypesBased,
ItemTypePrecondition,
contains,
IContainerTypesConstraint,
ContainerTypesConstraint,
containers
)
zope.app.container-3.9.2/src/zope/app/container/configure.zcml 0000664 0001771 0002004 00000000357 11707310352 025552 0 ustar menesis menesis 0000000 0000000
zope.app.container-3.9.2/src/zope/app/container/find.py 0000664 0001771 0002004 00000001467 11707310352 024177 0 ustar menesis menesis 0000000 0000000 ##############################################################################
#
# Copyright (c) 2001, 2002 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.
#
##############################################################################
"""BBB: this module moved to zope.container
"""
# BBB
from zope.container.find import (
FindAdapter,
_find_helper,
SimpleIdFindFilter,
SimpleInterfacesFindFilter
)
zope.app.container-3.9.2/src/zope/app/container/browser/ 0000775 0001771 0002004 00000000000 11707310374 024364 5 ustar menesis menesis 0000000 0000000 zope.app.container-3.9.2/src/zope/app/container/browser/meta.zcml 0000664 0001771 0002004 00000000616 11707310352 026200 0 ustar menesis menesis 0000000 0000000