[Zope3-checkins] CVS: Zope3/src/zope/app - servicenames.py:1.1
configure.zcml:1.76 zapi.py:1.14
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Mar 13 18:55:58 EST 2004
Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv5873/src/zope/app
Modified Files:
configure.zcml zapi.py
Added Files:
servicenames.py
Log Message:
Moved servicenames to zope.app.
=== Added File Zope3/src/zope/app/servicenames.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################
"""Default service names
$Id: servicenames.py,v 1.1 2004/03/13 23:54:56 srichter Exp $
"""
from zope.component.servicenames import *
Authentication = 'Authentication'
BrowserMenu = 'BrowserMenu'
EventPublication = 'EventPublication'
EventSubscription = 'Subscription'
ErrorLogging = 'ErrorLogging'
HubIds = 'HubIds'
PrincipalAnnotation = 'PrincipalAnnotation'
Workflows = 'Workflows'
=== Zope3/src/zope/app/configure.zcml 1.75 => 1.76 ===
--- Zope3/src/zope/app/configure.zcml:1.75 Sat Mar 13 18:00:38 2004
+++ Zope3/src/zope/app/configure.zcml Sat Mar 13 18:54:56 2004
@@ -7,6 +7,18 @@
<!-- Meta configuration (new directives) -->
<include file="meta.zcml" />
+ <!-- For backward compatibility -->
+
+ <modulealias
+ module="zope.app"
+ alias="zope.app.services"
+ />
+
+ <modulealias
+ module="zope.app.servicenames"
+ alias="zope.app.services.servicenames"
+ />
+
<!-- Ordinary Application (non-view) configuration) -->
<include package="zope.app.interface" />
<include package="zope.app.component" />
=== Zope3/src/zope/app/zapi.py 1.13 => 1.14 ===
--- Zope3/src/zope/app/zapi.py:1.13 Tue Mar 2 09:24:29 2004
+++ Zope3/src/zope/app/zapi.py Sat Mar 13 18:54:56 2004
@@ -20,7 +20,7 @@
from zope.app.interfaces.zapi import IZAPI
from zope.interface import moduleProvides
-from zope.app.services import servicenames
+from zope.app import servicenames
moduleProvides(IZAPI)
__all__ = tuple(IZAPI)
More information about the Zope3-Checkins
mailing list