[Checkins] SVN: zope.app.component/trunk/ Got ftesting fixed and
updated meta-data.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Oct 11 02:58:00 EDT 2007
Log message for revision 80836:
Got ftesting fixed and updated meta-data.
Changed:
A zope.app.component/trunk/CHANGES.txt
A zope.app.component/trunk/README.txt
U zope.app.component/trunk/buildout.cfg
U zope.app.component/trunk/setup.py
_U zope.app.component/trunk/src/
D zope.app.component/trunk/src/zope/app/component/browser/ftests.py
U zope.app.component/trunk/src/zope/app/component/browser/tests.py
-=-
Added: zope.app.component/trunk/CHANGES.txt
===================================================================
--- zope.app.component/trunk/CHANGES.txt (rev 0)
+++ zope.app.component/trunk/CHANGES.txt 2007-10-11 06:58:00 UTC (rev 80836)
@@ -0,0 +1,8 @@
+=======
+CHANGES
+=======
+
+3.4.0 (2007-10-11)
+------------------
+
+- Initial release independent of the main Zope tree.
Property changes on: zope.app.component/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Added: zope.app.component/trunk/README.txt
===================================================================
--- zope.app.component/trunk/README.txt (rev 0)
+++ zope.app.component/trunk/README.txt 2007-10-11 06:58:00 UTC (rev 80836)
@@ -0,0 +1,2 @@
+This package allows for local component registries and local component
+management.
Property changes on: zope.app.component/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: zope.app.component/trunk/buildout.cfg
===================================================================
--- zope.app.component/trunk/buildout.cfg 2007-10-11 06:28:57 UTC (rev 80835)
+++ zope.app.component/trunk/buildout.cfg 2007-10-11 06:58:00 UTC (rev 80836)
@@ -1,10 +1,8 @@
[buildout]
-develop = .
+develop = .
parts = test
-find-links = http://download.zope.org/distribution/
[test]
recipe = zc.recipe.testrunner
-defaults = ['--tests-pattern', '^f?tests$']
eggs = zope.app.component [test, back35]
Modified: zope.app.component/trunk/setup.py
===================================================================
--- zope.app.component/trunk/setup.py 2007-10-11 06:28:57 UTC (rev 80835)
+++ zope.app.component/trunk/setup.py 2007-10-11 06:58:00 UTC (rev 80836)
@@ -1,52 +1,96 @@
+##############################################################################
+#
+# 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.catalog package
+
+$Id: setup.py 80209 2007-09-27 09:38:31Z berndroessl $
+"""
import os
+from setuptools import setup, find_packages
-from setuptools import setup, find_packages, Extension
+def read(*rnames):
+ return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(name='zope.app.component',
- version = '3.4.0b4',
- url='http://pypi.python.org/pypi/zope.app.component',
+ version = '3.4.0',
author='Zope Corporation and Contributors',
author_email='zope3-dev at zope.org',
-
+ description='Local Zope Component Support',
+ long_description=(
+ read('README.txt')
+ + '\n\n' +
+ 'Detailed Documentation\n'
+ '**********************\n'
+ + '\n\n' +
+ read('src', 'zope', 'app', 'component', 'README.txt')
+ + '\n\n' +
+ read('src', 'zope', 'app', 'component', 'site.txt')
+ + '\n\n' +
+ read('CHANGES.txt')
+ ),
+ keywords = "zope component architecture local",
+ 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://pypi.python.org/pypi/zope.app.component',
+ 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.securitypolicy',
- 'zope.app.zcmlfiles',
- 'zope.modulealias',
- 'zope.app.schema',
- 'zope.testbrowser',
- ],
- back35=['zope.app.layers']),
+ extras_require=dict(
+ test=['zope.app.testing',
+ 'zope.app.securitypolicy',
+ 'zope.app.zcmlfiles',
+ 'zope.modulealias',
+ 'zope.app.schema',
+ 'zope.testbrowser',
+ ],
+ back35=['zope.app.layers']),
+ install_requires=[
+ 'setuptools',
+ 'zope.annotation',
+ 'zope.app.container',
+ 'zope.app.interface',
+ 'zope.app.pagetemplate',
+ 'zope.app.security',
+ 'zope.cachedescriptors',
+ 'zope.component [hook]',
+ 'zope.configuration',
+ 'zope.deferredimport',
+ 'zope.deprecation',
+ 'zope.event',
+ 'zope.exceptions',
+ 'zope.filerepresentation',
+ 'zope.formlib',
+ 'zope.i18nmessageid',
+ 'zope.interface',
+ 'zope.lifecycleevent',
+ 'zope.location>3.4.0b1',
+ 'zope.publisher',
+ 'zope.schema',
+ 'zope.security',
+ 'zope.thread',
+ 'zope.traversing',
+ 'ZODB3',
+ ],
include_package_data = True,
- install_requires=['setuptools',
- 'zope.annotation',
- 'zope.app.container',
- 'zope.app.interface',
- 'zope.app.pagetemplate',
- 'zope.app.security',
- 'zope.cachedescriptors',
- 'zope.component [hook]',
- 'zope.configuration',
- 'zope.deferredimport',
- 'zope.deprecation',
- 'zope.event',
- 'zope.exceptions',
- 'zope.filerepresentation',
- 'zope.formlib',
- 'zope.i18nmessageid',
- 'zope.interface',
- 'zope.lifecycleevent',
- 'zope.location>3.4.0b1',
- 'zope.publisher',
- 'zope.schema',
- 'zope.security',
- 'zope.thread',
- 'zope.traversing',
- 'ZODB3',
- ],
zip_safe = False,
)
Property changes on: zope.app.component/trunk/src
___________________________________________________________________
Name: svn:ignore
+ zope.app.component.egg-info
Deleted: zope.app.component/trunk/src/zope/app/component/browser/ftests.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/browser/ftests.py 2007-10-11 06:28:57 UTC (rev 80835)
+++ zope.app.component/trunk/src/zope/app/component/browser/ftests.py 2007-10-11 06:58:00 UTC (rev 80836)
@@ -1,41 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2005 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 the site management.
-
-$Id$
-"""
-__docformat__ = "reStructuredText"
-
-import os.path
-import unittest
-
-from zope.testing import doctest
-from zope.app.testing import functional
-
-
-AppComponentBrowserLayer = functional.ZCMLLayer(
- os.path.join(os.path.dirname(__file__), 'ftesting.zcml'),
- __name__, 'AppComponentBrowserLayer', allow_teardown=True)
-
-
-def test_suite():
- site = functional.FunctionalDocFileSuite(
- "site.txt",
- optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
- site.layer = AppComponentBrowserLayer
- return site
-
-
-if __name__ == '__main__':
- unittest.main(defaultTest='test_suite')
Modified: zope.app.component/trunk/src/zope/app/component/browser/tests.py
===================================================================
--- zope.app.component/trunk/src/zope/app/component/browser/tests.py 2007-10-11 06:28:57 UTC (rev 80835)
+++ zope.app.component/trunk/src/zope/app/component/browser/tests.py 2007-10-11 06:58:00 UTC (rev 80836)
@@ -15,12 +15,17 @@
$Id$
"""
-
+import os.path
import unittest
import zope.app.testing.functional
+from zope import interface
from zope.app.component.testing import AppComponentLayer
+from zope.app.testing import functional
+from zope.testing import doctest
-from zope import interface
+AppComponentBrowserLayer = functional.ZCMLLayer(
+ os.path.join(os.path.dirname(__file__), 'ftesting.zcml'),
+ __name__, 'AppComponentBrowserLayer', allow_teardown=True)
class ISampleBase(interface.Interface):
pass
@@ -33,11 +38,16 @@
def test_suite():
- suite = zope.app.testing.functional.FunctionalDocFileSuite(
- 'registration.txt')
- suite.layer = AppComponentLayer
- return suite
-
+ site = zope.app.testing.functional.FunctionalDocFileSuite(
+ "site.txt",
+ optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
+ site.layer = AppComponentBrowserLayer
+ reg = zope.app.testing.functional.FunctionalDocFileSuite(
+ 'registration.txt',
+ optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
+ reg.layer = AppComponentLayer
+ return unittest.TestSuite((site, reg))
+
if __name__ == '__main__':
unittest.main(defaultTest='test_suite')
More information about the Checkins
mailing list