Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zope-container
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
zope-container
Commits
6c75c342
Commit
6c75c342
authored
Jan 28, 2009
by
Wolfgang Schnerring
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename zope.app.container to zope.container
parent
616d7526
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
17 deletions
+16
-17
buildout.cfg
buildout.cfg
+1
-1
setup.py
setup.py
+9
-10
src/zope/container/_zope_container_contained.c
src/zope/container/_zope_container_contained.c
+4
-4
src/zope/container/contained.py
src/zope/container/contained.py
+2
-2
No files found.
buildout.cfg
View file @
6c75c342
...
@@ -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]
setup.py
View file @
6c75c342
...
@@ -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'
,
...
...
src/zope/container/_zope_container_contained.c
View file @
6c75c342
...
@@ -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
;
...
...
src/zope/container/contained.py
View file @
6c75c342
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment