[Checkins] SVN: z3c.layer/trunk/ Update code with deps. Update package meta-data.

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Oct 31 13:28:15 EDT 2007


Log message for revision 81283:
  Update code with deps. Update package meta-data.
  

Changed:
  A   z3c.layer/trunk/CHANGES.txt
  U   z3c.layer/trunk/setup.py
  _U  z3c.layer/trunk/src/
  U   z3c.layer/trunk/src/z3c/layer/__init__.py
  U   z3c.layer/trunk/src/z3c/layer/minimal/README.txt
  U   z3c.layer/trunk/src/z3c/layer/minimal/tests/ftesting.zcml
  U   z3c.layer/trunk/src/z3c/layer/pagelet/README.txt
  U   z3c.layer/trunk/src/z3c/layer/pagelet/tests/ftesting.zcml
  U   z3c.layer/trunk/src/z3c/layer/trusted/README.txt

-=-
Added: z3c.layer/trunk/CHANGES.txt
===================================================================
--- z3c.layer/trunk/CHANGES.txt	                        (rev 0)
+++ z3c.layer/trunk/CHANGES.txt	2007-10-31 17:28:15 UTC (rev 81283)
@@ -0,0 +1,24 @@
+=======
+CHANGES
+=======
+
+0.2.2 (2007-10-31)
+------------------
+
+- Fixed package meta-data.
+
+- Bug: Fixed test failures due to depency updates.
+
+- Restructure: Fixed deprecation warninf for ``ZopeSecurityPolicy``.
+
+
+0.2.1 (2007-??-??)
+------------------
+
+- Changes unknown.
+
+
+0.2.0 (2007-??-??)
+------------------
+
+- Initial release.


Property changes on: z3c.layer/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: z3c.layer/trunk/setup.py
===================================================================
--- z3c.layer/trunk/setup.py	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/setup.py	2007-10-31 17:28:15 UTC (rev 81283)
@@ -16,43 +16,54 @@
 
 $Id: setup.py 313 2007-05-22 15:33:41Z srichter $
 """
+import os
 from setuptools import setup, find_packages
 
-setup(
-    name = 'z3c.layer',
-    version = '0.2.1',
-    author = "Zope Community",
-    author_email = "zope3-dev at zope.org",
-    description = open("README.txt").read(),
-    license = "ZPL 2.1",
-    keywords = "layer zope zope3",
-    classifiers = [
-        'Development Status :: 4 - Beta',
-        '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://svn.zope.org/z3c.layer',
-    packages = find_packages('src'),
-    include_package_data = True,
-    package_dir = {'':'src'},
-    namespace_packages = ['z3c'],
-    extras_require = dict(
-        test=['zope.app.testing']
-        ),
-    install_requires = [
-        'setuptools',
-        'zope.app.http',
-        'zope.app.form',
-        'zope.app.publisher',
-        'zope.configuration',
-        'zope.traversing',
-        ],
-    dependency_links = ['http://download.zope.org/distribution'],
-    zip_safe = False,
-)
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
+setup(name = 'z3c.layer',
+      version = '0.2.2',
+      author='Zope Corporation and Contributors',
+      author_email='zope3-dev at zope.org',
+      description='Collection of Alternative Base Layers',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = "zope3 layer",
+      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/z3c.layer',
+      license='ZPL 2.1',
+      packages=find_packages('src'),
+      package_dir = {'': 'src'},
+      namespace_packages=['z3c'],
+      extras_require = dict(
+          test=['zope.app.testing',
+                'zope.app.securitypolicy',
+                'zope.securitypolicy',
+                'zope.testbrowser',
+                ]
+          ),
+      install_requires = [
+          'setuptools',
+          'z3c.pagelet',
+          'zope.app.http',
+          'zope.app.form',
+          'zope.app.publisher',
+          'zope.configuration',
+          'zope.traversing',
+          ],
+      include_package_data = True,
+      zip_safe = False,
+      )


Property changes on: z3c.layer/trunk/src
___________________________________________________________________
Name: svn:ignore
   + z3c.layer.egg-info


Modified: z3c.layer/trunk/src/z3c/layer/__init__.py
===================================================================
--- z3c.layer/trunk/src/z3c/layer/__init__.py	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/__init__.py	2007-10-31 17:28:15 UTC (rev 81283)
@@ -12,6 +12,6 @@
 #
 ##############################################################################
 """
-$Id:$
+$Id$
 """
 

Modified: z3c.layer/trunk/src/z3c/layer/minimal/README.txt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/README.txt	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/minimal/README.txt	2007-10-31 17:28:15 UTC (rev 81283)
@@ -72,7 +72,7 @@
   >>> manager.open(skinURL + '/foobar.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 404: Not Found
+  httperror_seek_wrapper: HTTP Error 404: Not Found
 
   >>> print manager.contents
   <BLANKLINE>
@@ -160,7 +160,7 @@
   >>> unauthorized.open(skinURL + '/@@forbidden.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 401: Unauthorized
+  httperror_seek_wrapper: HTTP Error 401: Unauthorized
 
   >>> print unauthorized.contents
   <BLANKLINE>

Modified: z3c.layer/trunk/src/z3c/layer/minimal/tests/ftesting.zcml
===================================================================
--- z3c.layer/trunk/src/z3c/layer/minimal/tests/ftesting.zcml	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/minimal/tests/ftesting.zcml	2007-10-31 17:28:15 UTC (rev 81283)
@@ -9,7 +9,7 @@
   <include package="zope.app.securitypolicy" file="meta.zcml" />
   <include package="zope.app.authentication" />
   <securityPolicy
-    component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
 
   <include package="zope.app.securitypolicy" />
 

Modified: z3c.layer/trunk/src/z3c/layer/pagelet/README.txt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/pagelet/README.txt	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/pagelet/README.txt	2007-10-31 17:28:15 UTC (rev 81283)
@@ -76,7 +76,7 @@
   >>> manager.open(skinURL + '/foobar.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 404: Not Found
+  httperror_seek_wrapper: HTTP Error 404: Not Found
 
   >>> print manager.contents
   <!DOCTYPE...
@@ -164,7 +164,7 @@
   >>> unauthorized.open(skinURL + '/@@forbidden.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 401: Unauthorized
+  httperror_seek_wrapper: HTTP Error 401: Unauthorized
 
   >>> print unauthorized.contents
   <!DOCTYPE...

Modified: z3c.layer/trunk/src/z3c/layer/pagelet/tests/ftesting.zcml
===================================================================
--- z3c.layer/trunk/src/z3c/layer/pagelet/tests/ftesting.zcml	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/pagelet/tests/ftesting.zcml	2007-10-31 17:28:15 UTC (rev 81283)
@@ -10,7 +10,7 @@
   <include package="zope.app.securitypolicy" file="meta.zcml" />
   <include package="zope.app.authentication" />
   <securityPolicy
-    component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+    component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
 
   <include package="zope.app.securitypolicy" />
 

Modified: z3c.layer/trunk/src/z3c/layer/trusted/README.txt
===================================================================
--- z3c.layer/trunk/src/z3c/layer/trusted/README.txt	2007-10-31 17:07:41 UTC (rev 81282)
+++ z3c.layer/trunk/src/z3c/layer/trusted/README.txt	2007-10-31 17:28:15 UTC (rev 81283)
@@ -2,13 +2,13 @@
 README
 ======
 
-This package contains the trusted layer. This layer support a correct set of 
+This package contains the trusted layer. This layer support a correct set of
 component registration and can be used for inheritation in custom skins.
 
-The ITrustedBrowserLayer supports the same registration set like the 
+The ITrustedBrowserLayer supports the same registration set like the
 IMinimalBrowserLayer. The only difference is, that the trusted layer offers
 trusted traversal adapters. This means a skin using this layer can traverse
-over a PAU (pluggable IAuthentication utility) without to run into a 
+over a PAU (pluggable IAuthentication utility) without to run into a
 Unautorized exception.
 
 For more information see also the README.txt in z3c.layer.minimal.
@@ -17,9 +17,9 @@
 Testing
 -------
 
-For testing the ITrustedBrowserLayer we use the testing skin defined in the 
-tests package which uses the ITrustedBrowserLayer. This means, that our 
-testing skin provides also the views defined in the minimal package 
+For testing the ITrustedBrowserLayer we use the testing skin defined in the
+tests package which uses the ITrustedBrowserLayer. This means, that our
+testing skin provides also the views defined in the minimal package
 and it's testing views defined in the minimal tests.
 
 Login as manager first:
@@ -28,7 +28,7 @@
   >>> manager = Browser()
   >>> manager.addHeader('Authorization', 'Basic mgr:mgrpw')
 
-Check if we can access the public page.html view which is registred in the 
+Check if we can access the public page.html view which is registred in the
 ftesting.zcml file with our skin:
 
   >>> skinURL = 'http://localhost/++skin++TrustedTesting'
@@ -57,7 +57,7 @@
   >>> manager.open(skinURL + '/foobar.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 404: Not Found
+  httperror_seek_wrapper: HTTP Error 404: Not Found
 
   >>> print manager.contents
   <BLANKLINE>
@@ -93,7 +93,7 @@
   <BLANKLINE>
   <BLANKLINE>
 
-And check the user error page which is a view registred for 
+And check the user error page which is a view registred for
 ``zope.exceptions.interfaces.IUserError`` exceptions:
 
   >>> manager.open(skinURL + '/@@usererror.html')
@@ -112,7 +112,7 @@
   <BLANKLINE>
   <BLANKLINE>
 
-And check error view registred for 
+And check error view registred for
 ``zope.interface.common.interfaces.IException``:
 
   >>> manager.open(skinURL + '/@@systemerror.html')
@@ -138,14 +138,14 @@
   <BLANKLINE>
   <BLANKLINE>
 
-And check the ``zope.security.interfaces.IUnauthorized`` view, use a new 
+And check the ``zope.security.interfaces.IUnauthorized`` view, use a new
 unregistred user (test browser) for this:
 
   >>> unauthorized = Browser()
   >>> unauthorized.open(skinURL + '/@@forbidden.html')
   Traceback (most recent call last):
   ...
-  HTTPError: HTTP Error 401: Unauthorized
+  httperror_seek_wrapper: HTTP Error 401: Unauthorized
 
   >>> print unauthorized.contents
   <BLANKLINE>



More information about the Checkins mailing list