[Zope3-checkins] CVS: Zope3/src/zope/app/publisher/vfs - __init__.py:1.2 meta.zcml:1.2 metaconfigure.py:1.2

Jim Fulton jim@zope.com
Wed, 25 Dec 2002 09:14:11 -0500


Update of /cvs-repository/Zope3/src/zope/app/publisher/vfs
In directory cvs.zope.org:/tmp/cvs-serv15352/src/zope/app/publisher/vfs

Added Files:
	__init__.py meta.zcml metaconfigure.py 
Log Message:
Grand renaming:

- Renamed most files (especially python modules) to lower case.

- Moved views and interfaces into separate hierarchies within each
  project, where each top-level directory under the zope package
  is a separate project.

- Moved everything to src from lib/python.

  lib/python will eventually go away. I need access to the cvs
  repository to make this happen, however.

There are probably some bits that are broken. All tests pass
and zope runs, but I haven't tried everything. There are a number
of cleanups I'll work on tomorrow.



=== Zope3/src/zope/app/publisher/vfs/__init__.py 1.1 => 1.2 ===
--- /dev/null	Wed Dec 25 09:14:11 2002
+++ Zope3/src/zope/app/publisher/vfs/__init__.py	Wed Dec 25 09:13:10 2002
@@ -0,0 +1,2 @@
+#
+# This file is necessary to make this directory a package.


=== Zope3/src/zope/app/publisher/vfs/meta.zcml 1.1 => 1.2 ===
--- /dev/null	Wed Dec 25 09:14:11 2002
+++ Zope3/src/zope/app/publisher/vfs/meta.zcml	Wed Dec 25 09:13:10 2002
@@ -0,0 +1,8 @@
+<zopeConfigure xmlns="http://namespaces.zope.org/zope">
+  
+  <directives namespace="http://namespaces.zope.org/vfs">
+    <directive name="view" attributes="factory name for permission"
+       handler="zope.app.publisher.vfs.metaconfigure.view" />
+  </directives>
+
+</zopeConfigure>


=== Zope3/src/zope/app/publisher/vfs/metaconfigure.py 1.1 => 1.2 ===
--- /dev/null	Wed Dec 25 09:14:11 2002
+++ Zope3/src/zope/app/publisher/vfs/metaconfigure.py	Wed Dec 25 09:13:10 2002
@@ -0,0 +1,22 @@
+##############################################################################
+#
+# 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.
+#
+##############################################################################
+"""
+
+$Id$
+"""
+from zope.app.component.metaconfigure import view as _view
+
+def view(_context, **__kw):
+    return _view(_context, type='zope.publisher.interfaces.vfs.IVFSView',
+                 **__kw)