[Checkins] SVN: zope.app.debugskin/trunk/ Get the package for a
release.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Nov 1 17:38:36 EDT 2007
Log message for revision 81390:
Get the package for a release.
Changed:
A zope.app.debugskin/trunk/CHANGES.txt
A zope.app.debugskin/trunk/README.txt
U zope.app.debugskin/trunk/buildout.cfg
U zope.app.debugskin/trunk/setup.py
_U zope.app.debugskin/trunk/src/
U zope.app.debugskin/trunk/src/zope/app/debugskin/ftesting.zcml
D zope.app.debugskin/trunk/src/zope/app/debugskin/ftests.py
U zope.app.debugskin/trunk/src/zope/app/debugskin/tests.py
-=-
Added: zope.app.debugskin/trunk/CHANGES.txt
===================================================================
--- zope.app.debugskin/trunk/CHANGES.txt (rev 0)
+++ zope.app.debugskin/trunk/CHANGES.txt 2007-11-01 21:38:36 UTC (rev 81390)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+3.4.0 (2007-11-01)
+------------------
+
+- Initial release independent of the main Zope tree.
Property changes on: zope.app.debugskin/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zope.app.debugskin/trunk/README.txt
===================================================================
--- zope.app.debugskin/trunk/README.txt (rev 0)
+++ zope.app.debugskin/trunk/README.txt 2007-11-01 21:38:36 UTC (rev 81390)
@@ -0,0 +1 @@
+The debug skin publishes failure tracebacks in the HTTP result.
Property changes on: zope.app.debugskin/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zope.app.debugskin/trunk/buildout.cfg
===================================================================
--- zope.app.debugskin/trunk/buildout.cfg 2007-11-01 21:09:32 UTC (rev 81389)
+++ zope.app.debugskin/trunk/buildout.cfg 2007-11-01 21:38:36 UTC (rev 81390)
@@ -1,9 +1,7 @@
[buildout]
develop = .
parts = test
-find-links = http://download.zope.org/distribution/
[test]
recipe = zc.recipe.testrunner
eggs = zope.app.debugskin [test]
-defaults = ['--tests-pattern', '^f?tests$', '-v']
Modified: zope.app.debugskin/trunk/setup.py
===================================================================
--- zope.app.debugskin/trunk/setup.py 2007-11-01 21:09:32 UTC (rev 81389)
+++ zope.app.debugskin/trunk/setup.py 2007-11-01 21:38:36 UTC (rev 81390)
@@ -1,27 +1,61 @@
+##############################################################################
+#
+# Copyright (c) 2006 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (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.
+#
+##############################################################################
+"""Setup for zope.app.debugskin package
+
+$Id: setup.py 81038 2007-10-24 14:34:17Z srichter $
+"""
+import os
from setuptools import setup, find_packages
-import os
-setup(
- name="zope.app.debugskin",
- version="3.4.0b1",
- author="Zope Corporation and Contributors",
- author_email="zope3-dev at zope.org",
- url="http://svn.zope.org/zope.app.debugskin",
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
- description="A collection of demo packages for Zope 3",
- packages=find_packages('src'),
- package_dir={'':'src'},
-
- include_package_data=True,
- install_requires=["setuptools",
- "zope.app.rotterdam",
- "zope.app.skins",
- "zope.publisher"],
- extras_require = dict(
- test = ["zope.app.testing",
- "zope.app.zcmlfiles",
- "zope.app.securitypolicy"]
- ),
-
- zip_safe=False
-)
+setup(name='zope.app.debugskin',
+ version = '3.4.0',
+ author='Zope Corporation and Contributors',
+ author_email='zope3-dev at zope.org',
+ description='Debug -- A Zope 3 ZMI Skin',
+ long_description=(
+ read('README.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ keywords = "zope3 debug skin zmi",
+ 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/zope.app.debugskin',
+ license='ZPL 2.1',
+ packages=find_packages('src'),
+ package_dir = {'': 'src'},
+ namespace_packages=['zope', 'zope.app'],
+ extras_require = dict(
+ test = ["zope.app.testing",
+ "zope.app.zcmlfiles",
+ "zope.app.securitypolicy"]
+ ),
+ install_requires=["setuptools",
+ "zope.app.rotterdam",
+ "zope.app.skins",
+ "zope.publisher"],
+ include_package_data = True,
+ zip_safe = False,
+ )
Property changes on: zope.app.debugskin/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zope.app.debugskin.egg-info
Modified: zope.app.debugskin/trunk/src/zope/app/debugskin/ftesting.zcml
===================================================================
--- zope.app.debugskin/trunk/src/zope/app/debugskin/ftesting.zcml 2007-11-01 21:09:32 UTC (rev 81389)
+++ zope.app.debugskin/trunk/src/zope/app/debugskin/ftesting.zcml 2007-11-01 21:38:36 UTC (rev 81390)
@@ -15,7 +15,7 @@
<include package="zope.app.debugskin"/>
<securityPolicy
- component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+ component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
<role id="zope.Anonymous" title="Everybody"
description="All users have this role implicitly" />
Deleted: zope.app.debugskin/trunk/src/zope/app/debugskin/ftests.py
===================================================================
--- zope.app.debugskin/trunk/src/zope/app/debugskin/ftests.py 2007-11-01 21:09:32 UTC (rev 81389)
+++ zope.app.debugskin/trunk/src/zope/app/debugskin/ftests.py 2007-11-01 21:38:36 UTC (rev 81390)
@@ -1,43 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2003, 2004 Zope Corporation and Contributors.
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (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.
-#
-##############################################################################
-"""Functional Tests for Code Documentation Module.
-
-$Id$
-"""
-import unittest
-from zope.app.testing.functional import BrowserTestCase
-from zope.app.debugskin.testing import DebugSkinLayer
-
-class DebugSkinTests(BrowserTestCase):
-
- def testNotFound(self):
- response = self.publish('/++skin++Debug/foo',
- basic='mgr:mgrpw', handle_errors=True)
- self.assertEqual(response.getStatus(), 200)
- body = response.getBody()
- self.assert_(body.find(
- 'zope.publisher.interfaces.NotFound') > 0)
- self.assert_(body.find(
- 'in publishTraverse') > 0)
- self.checkForBrokenLinks(body, '/++skin++Debug/foo',
- basic='mgr:mgrpw')
-
-def test_suite():
- DebugSkinTests.layer = DebugSkinLayer
- return unittest.TestSuite((
- unittest.makeSuite(DebugSkinTests),
- ))
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: zope.app.debugskin/trunk/src/zope/app/debugskin/tests.py
===================================================================
--- zope.app.debugskin/trunk/src/zope/app/debugskin/tests.py 2007-11-01 21:09:32 UTC (rev 81389)
+++ zope.app.debugskin/trunk/src/zope/app/debugskin/tests.py 2007-11-01 21:38:36 UTC (rev 81390)
@@ -16,12 +16,13 @@
$Id$
"""
__docformat__ = 'restructuredtext'
-
-from unittest import TestCase, TestLoader, TextTestRunner
+import unittest
from zope.app.debugskin.exceptions import ExceptionDebugView
+from zope.app.debugskin.testing import DebugSkinLayer
+from zope.app.testing.functional import BrowserTestCase
-class TestExceptions(TestCase):
-
+class TestExceptions(unittest.TestCase):
+
def _getTargetClass(self):
return ExceptionDebugView
@@ -42,10 +43,26 @@
tb_lines = traceback.extract_tb(sys.exc_info()[2])
self.assertEqual(len(view.traceback_lines), len(tb_lines))
+
+class DebugSkinTests(BrowserTestCase):
+
+ def testNotFound(self):
+ response = self.publish('/++skin++Debug/foo',
+ basic='mgr:mgrpw', handle_errors=True)
+ self.assertEqual(response.getStatus(), 200)
+ body = response.getBody()
+ self.assert_(body.find(
+ 'zope.publisher.interfaces.NotFound') > 0)
+ self.assert_(body.find(
+ 'in publishTraverse') > 0)
+ self.checkForBrokenLinks(body, '/++skin++Debug/foo',
+ basic='mgr:mgrpw')
+
+
def test_suite():
- loader = TestLoader()
- return loader.loadTestsFromTestCase(TestExceptions)
+ DebugSkinTests.layer = DebugSkinLayer
+ return unittest.TestSuite((
+ unittest.makeSuite(TestExceptions),
+ unittest.makeSuite(DebugSkinTests),
+ ))
-if __name__=='__main__':
- TextTestRunner().run(test_suite())
-
More information about the Checkins
mailing list