Commit 6c75c342 authored by Wolfgang Schnerring's avatar Wolfgang Schnerring

rename zope.app.container to zope.container

parent 616d7526
...@@ -4,5 +4,5 @@ parts = test ...@@ -4,5 +4,5 @@ parts = test
[test] [test]
recipe = zc.recipe.testrunner recipe = zc.recipe.testrunner
eggs = zope.app.container [test] eggs = zope.container [test]
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# FOR A PARTICULAR PURPOSE. # FOR A PARTICULAR PURPOSE.
# #
############################################################################## ##############################################################################
"""Setup for zope.app.container package """Setup for zope.container package
$Id$ $Id$
""" """
...@@ -21,7 +21,7 @@ from setuptools import setup, find_packages, Extension ...@@ -21,7 +21,7 @@ from setuptools import setup, find_packages, Extension
def read(*rnames): def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read() return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='zope.app.container', setup(name='zope.container',
version = '3.7.0dev', version = '3.7.0dev',
author='Zope Corporation and Contributors', author='Zope Corporation and Contributors',
author_email='zope-dev@zope.org', author_email='zope-dev@zope.org',
...@@ -32,7 +32,7 @@ setup(name='zope.app.container', ...@@ -32,7 +32,7 @@ setup(name='zope.app.container',
'Detailed Documentation\n' 'Detailed Documentation\n'
'**********************\n' '**********************\n'
+ '\n\n' + + '\n\n' +
read('src', 'zope', 'app', 'container', 'constraints.txt') read('src', 'zope', 'container', 'constraints.txt')
+ '\n\n' + + '\n\n' +
read('CHANGES.txt') read('CHANGES.txt')
), ),
...@@ -45,22 +45,21 @@ setup(name='zope.app.container', ...@@ -45,22 +45,21 @@ setup(name='zope.app.container',
'Programming Language :: Python', 'Programming Language :: Python',
'Natural Language :: English', 'Natural Language :: English',
'Operating System :: OS Independent', 'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP',
'Framework :: Zope3'], 'Framework :: Zope3'],
url='http://cheeseshop.python.org/pypi/zope.app.container', url='http://cheeseshop.python.org/pypi/zope.container',
license='ZPL 2.1', license='ZPL 2.1',
packages=find_packages('src'), packages=find_packages('src'),
package_dir = {'': 'src'}, package_dir = {'': 'src'},
namespace_packages=['zope', 'zope.app'], namespace_packages=['zope'],
ext_modules=[Extension("zope.app.container._zope_app_container_contained", ext_modules=[Extension("zope.container._zope_container_contained",
[os.path.join("src", "zope", "app", "container", [os.path.join("src", "zope", "container",
"_zope_app_container_contained.c") "_zope_container_contained.c")
], include_dirs=['include']), ], include_dirs=['include']),
], ],
extras_require=dict(test=['zope.app.testing', extras_require=dict(test=['zope.app.testing',
'zope.app.securitypolicy',
'zope.app.zcmlfiles',
'zope.app.file']), 'zope.app.file']),
install_requires=['setuptools', install_requires=['setuptools',
'zope.interface', 'zope.interface',
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# #
############################################################################*/ ############################################################################*/
#define _ZOPE_APP_CONTAINER_CONTAINED_C "$Id$\n" #define _ZOPE_CONTAINER_CONTAINED_C "$Id$\n"
/* Contained Proxy Base class /* Contained Proxy Base class
...@@ -291,7 +291,7 @@ CP_dealloc(ProxyObject *self) ...@@ -291,7 +291,7 @@ CP_dealloc(ProxyObject *self)
#define PyMODINIT_FUNC void #define PyMODINIT_FUNC void
#endif #endif
PyMODINIT_FUNC PyMODINIT_FUNC
init_zope_app_container_contained(void) init_zope_container_contained(void)
{ {
PyObject *m; PyObject *m;
...@@ -302,7 +302,7 @@ init_zope_app_container_contained(void) ...@@ -302,7 +302,7 @@ init_zope_app_container_contained(void)
/* Try to fake out compiler nag function */ /* Try to fake out compiler nag function */
if (0) init_zope_proxy_proxy(); if (0) init_zope_proxy_proxy();
m = Py_InitModule3("_zope_app_container_contained", m = Py_InitModule3("_zope_container_contained",
module_functions, module___doc__); module_functions, module___doc__);
if (m == NULL) if (m == NULL)
...@@ -316,7 +316,7 @@ init_zope_app_container_contained(void) ...@@ -316,7 +316,7 @@ init_zope_app_container_contained(void)
if (cPersistenceCAPI == NULL) if (cPersistenceCAPI == NULL)
return; return;
ProxyType.tp_name = "zope.app.container.contained.ContainedProxyBase"; ProxyType.tp_name = "zope.container.contained.ContainedProxyBase";
ProxyType.ob_type = &PyType_Type; ProxyType.ob_type = &PyType_Type;
ProxyType.tp_base = cPersistenceCAPI->pertype; ProxyType.tp_base = cPersistenceCAPI->pertype;
ProxyType.tp_getattro = CP_getattro; ProxyType.tp_getattro = CP_getattro;
......
...@@ -36,8 +36,8 @@ from zope.container.interfaces import IObjectAddedEvent ...@@ -36,8 +36,8 @@ from zope.container.interfaces import IObjectAddedEvent
from zope.container.interfaces import IObjectMovedEvent from zope.container.interfaces import IObjectMovedEvent
from zope.container.interfaces import IObjectRemovedEvent from zope.container.interfaces import IObjectRemovedEvent
from zope.container.interfaces import IContainerModifiedEvent from zope.container.interfaces import IContainerModifiedEvent
from zope.container._zope_app_container_contained import ContainedProxyBase from zope.container._zope_container_contained import ContainedProxyBase
from zope.container._zope_app_container_contained import getProxiedObject from zope.container._zope_container_contained import getProxiedObject
from zope.app.broken.interfaces import IBroken from zope.app.broken.interfaces import IBroken
class Contained(object): class Contained(object):
......
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