[Checkins] SVN: zope.app.boston/trunk/ Get ready for release.

Stephan Richter srichter at cosmos.phy.tufts.edu
Sun Nov 4 18:53:31 EST 2007


Log message for revision 81497:
  Get ready for release.
  

Changed:
  U   zope.app.boston/trunk/CHANGES.txt
  U   zope.app.boston/trunk/README.txt
  U   zope.app.boston/trunk/buildout.cfg
  U   zope.app.boston/trunk/setup.py
  U   zope.app.boston/trunk/src/zope/app/boston/README.txt
  D   zope.app.boston/trunk/src/zope/app/boston/browser/ftests.py
  A   zope.app.boston/trunk/src/zope/app/boston/browser/tests.py
  U   zope.app.boston/trunk/src/zope/app/boston/ftesting.zcml
  D   zope.app.boston/trunk/src/zope/app/boston/ftests.py
  A   zope.app.boston/trunk/src/zope/app/boston/tests.py
  U   zope.app.boston/trunk/src/zope/app/boston/viewlets/addinginfo/browser.py

-=-
Modified: zope.app.boston/trunk/CHANGES.txt
===================================================================
--- zope.app.boston/trunk/CHANGES.txt	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/CHANGES.txt	2007-11-04 23:53:30 UTC (rev 81497)
@@ -1,6 +1,12 @@
-zope.app.boston package changelog
-================================
+=======
+CHANGES
+=======
 
+3.4.0 (2007-11-03)
+------------------
+
+- Initial release independent of the main Zope tree.
+
 3.4.0b1
 -------
 

Modified: zope.app.boston/trunk/README.txt
===================================================================
--- zope.app.boston/trunk/README.txt	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/README.txt	2007-11-04 23:53:30 UTC (rev 81497)
@@ -1,4 +1 @@
-zope.app.boston
-===============
-
-See, src/zope/app/boston/README.txt 
+The Boston skin is a new UI for the Zope Management Interface called ZMI.

Modified: zope.app.boston/trunk/buildout.cfg
===================================================================
--- zope.app.boston/trunk/buildout.cfg	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/buildout.cfg	2007-11-04 23:53:30 UTC (rev 81497)
@@ -1,9 +1,7 @@
 [buildout]
 develop = .
 parts = test
-find-links = http://download.zope.org/distribution/
 
 [test]
 recipe = zc.recipe.testrunner
-defaults = ['--tests-pattern', '^f?tests$']
 eggs = zope.app.boston [test]

Modified: zope.app.boston/trunk/setup.py
===================================================================
--- zope.app.boston/trunk/setup.py	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/setup.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -15,24 +15,49 @@
 
 $Id$
 """
-
 import os
-
 from setuptools import setup, find_packages
 
-setup(name = 'zope.app.boston',
-      version = '3.4.0rc1',
-      url = 'http://svn.zope.org/zope.app.boston',
-      license = 'ZPL 2.1',
-      description = 'Zope boston',
-      author = 'Zope Corporation and Contributors',
-      author_email = 'zope3-dev at zope.org',
-      long_description = "",
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
-      packages = find_packages('src'),
+setup(name='zope.app.boston',
+      version = '3.4.0',
+      author='Zope Corporation and Contributors',
+      author_email='zope3-dev at zope.org',
+      description='Boston -- A Zope 3 ZMI Skin',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          'Detailed Dcoumentation\n' +
+          '----------------------\n'
+          + '\n\n' +
+          read('src', 'zope', 'app', 'boston', 'README.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = "zope3 boston 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.boston',
+      license='ZPL 2.1',
+      packages=find_packages('src'),
       package_dir = {'': 'src'},
-
-      namespace_packages = ['zope', 'zope.app'],
+      namespace_packages=['zope', 'zope.app'],
+      extras_require = dict(test=['zope.app.testing',
+                                  'zope.testbrowser',
+                                  'zope.app.dtmlpage',
+                                  'zope.app.onlinehelp',
+                                  'zope.app.securitypolicy',
+                                  'zope.app.zcmlfiles']),
       install_requires = ['setuptools',
                           'zope.app.publisher',
                           'zope.app.skins',
@@ -43,13 +68,6 @@
                           'zope.testing',
                           'zope.viewlet',
                           ],
-      extras_require = dict(test=['zope.app.testing',
-                                  'zope.testbrowser',
-                                  'zope.app.dtmlpage',
-                                  'zope.app.onlinehelp',
-                                  'zope.app.securitypolicy',
-                                  'zope.app.zcmlfiles']),
       include_package_data = True,
-
       zip_safe = False,
       )

Modified: zope.app.boston/trunk/src/zope/app/boston/README.txt
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/README.txt	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/src/zope/app/boston/README.txt	2007-11-04 23:53:30 UTC (rev 81497)
@@ -48,4 +48,5 @@
 
 Make sure the edit form "works":
 
-    >>> browser.open('http://localhost/++skin++Boston/+/zope.app.dtmlpage.DTMLPage=')
+    >>> browser.open(
+    ...     'http://localhost/++skin++Boston/+/zope.app.dtmlpage.DTMLPage=')

Deleted: zope.app.boston/trunk/src/zope/app/boston/browser/ftests.py
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/browser/ftests.py	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/src/zope/app/boston/browser/ftests.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -1,103 +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.
-#
-##############################################################################
-"""Boston skin ftests
-
-$Id$
-"""
-
-import unittest
-
-from zope.app.testing.functional import BrowserTestCase
-from zope.app.boston.testing import BostonLayer
-
-class TestBostonSkin(BrowserTestCase):
-
-
-    def test_addFolder(self):
-        response = self.publish(
-            "/++skin++Boston/+/action.html",
-            basic='mgr:mgrpw',
-            form={'type_name':u'zope.app.content.Folder',
-                  'id':u'folder'})
-        self.assertEqual(response.getStatus(), 302)
-
-        response = self.publish(
-            "/++skin++Boston/folder/+/action.html",
-            basic='mgr:mgrpw',
-            form={'type_name':u'zope.app.content.Folder',
-                  'id':u'subfolder'})
-        self.assertEqual(response.getStatus(), 302)
-
-    def test_addSiteManager(self):
-        response = self.publish(
-            "/++skin++Boston/+/action.html",
-            basic='mgr:mgrpw',
-            form={'type_name':u'zope.app.content.Folder',
-                  'id':u'folder'})
-        self.assertEqual(response.getStatus(), 302)
-
-        response = self.publish(
-            "/++skin++Boston/folder/+/action.html",
-            basic='mgr:mgrpw',
-            form={'type_name':u'zope.app.content.Folder',
-                  'id':u'subsite'})
-        self.assertEqual(response.getStatus(), 302)
-
-        response = self.publish(
-            "/++skin++Boston/folder/subsite/addSiteManager.html",
-            basic='mgr:mgrpw')
-        self.assertEqual(response.getStatus(), 302)
-
-    def test_css_pagelets(self):
-        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
-        self.assertEqual(response.getStatus(), 200)
-        self.assert_(response.getBody().find(
-            'href="http://localhost/++skin++Boston/@@/skin.css"') != -1)
-        self.assert_(response.getBody().find(
-            'href="http://localhost/++skin++Boston/@@/widget.css"') != -1)
-
-    def test_javascrip_pagelets(self):
-        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
-        self.assertEqual(response.getStatus(), 200)
-        self.assert_(response.getBody().find(
-            'src="http://localhost/++skin++Boston/@@/boston.js"') != -1)
-
-    def test_left_boxes(self):
-        # Add a folder
-        response = self.publish(
-            "/++skin++Boston/+/action.html",
-            basic='mgr:mgrpw',
-            form={'type_name':u'zope.app.content.Folder',
-                  'id':u'folder'})
-        self.assertEqual(response.getStatus(), 302)
-
-        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
-        self.assertEqual(response.getStatus(), 200)
-
-        # test xmltree box
-        self.assert_(response.getBody().find('id="xmltree"') != -1)
-
-        # test addinginfo box
-        self.assert_(response.getBody().find('id="addinginfo"') != -1)
-
-
-def test_suite():
-    suite = unittest.TestSuite()
-    TestBostonSkin.layer = BostonLayer
-    suite.addTest(unittest.makeSuite(TestBostonSkin))
-    return suite
-
-if __name__=='__main__':
-    unittest.main(defaultTest='test_suite')
-

Copied: zope.app.boston/trunk/src/zope/app/boston/browser/tests.py (from rev 81496, zope.app.boston/trunk/src/zope/app/boston/browser/ftests.py)
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/browser/tests.py	                        (rev 0)
+++ zope.app.boston/trunk/src/zope/app/boston/browser/tests.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -0,0 +1,103 @@
+##############################################################################
+#
+# 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.
+#
+##############################################################################
+"""Boston skin ftests
+
+$Id$
+"""
+
+import unittest
+
+from zope.app.testing.functional import BrowserTestCase
+from zope.app.boston.testing import BostonLayer
+
+class TestBostonSkin(BrowserTestCase):
+
+
+    def test_addFolder(self):
+        response = self.publish(
+            "/++skin++Boston/+/action.html",
+            basic='mgr:mgrpw',
+            form={'type_name':u'zope.app.content.Folder',
+                  'id':u'folder'})
+        self.assertEqual(response.getStatus(), 302)
+
+        response = self.publish(
+            "/++skin++Boston/folder/+/action.html",
+            basic='mgr:mgrpw',
+            form={'type_name':u'zope.app.content.Folder',
+                  'id':u'subfolder'})
+        self.assertEqual(response.getStatus(), 302)
+
+    def test_addSiteManager(self):
+        response = self.publish(
+            "/++skin++Boston/+/action.html",
+            basic='mgr:mgrpw',
+            form={'type_name':u'zope.app.content.Folder',
+                  'id':u'folder'})
+        self.assertEqual(response.getStatus(), 302)
+
+        response = self.publish(
+            "/++skin++Boston/folder/+/action.html",
+            basic='mgr:mgrpw',
+            form={'type_name':u'zope.app.content.Folder',
+                  'id':u'subsite'})
+        self.assertEqual(response.getStatus(), 302)
+
+        response = self.publish(
+            "/++skin++Boston/folder/subsite/addSiteManager.html",
+            basic='mgr:mgrpw')
+        self.assertEqual(response.getStatus(), 302)
+
+    def test_css_pagelets(self):
+        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
+        self.assertEqual(response.getStatus(), 200)
+        self.assert_(response.getBody().find(
+            'href="http://localhost/++skin++Boston/@@/skin.css"') != -1)
+        self.assert_(response.getBody().find(
+            'href="http://localhost/++skin++Boston/@@/widget.css"') != -1)
+
+    def test_javascrip_pagelets(self):
+        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
+        self.assertEqual(response.getStatus(), 200)
+        self.assert_(response.getBody().find(
+            'src="http://localhost/++skin++Boston/@@/boston.js"') != -1)
+
+    def test_left_boxes(self):
+        # Add a folder
+        response = self.publish(
+            "/++skin++Boston/+/action.html",
+            basic='mgr:mgrpw',
+            form={'type_name':u'zope.app.content.Folder',
+                  'id':u'folder'})
+        self.assertEqual(response.getStatus(), 302)
+
+        response = self.publish('/++skin++Boston/', basic='mgr:mgrpw')
+        self.assertEqual(response.getStatus(), 200)
+
+        # test xmltree box
+        self.assert_(response.getBody().find('id="xmltree"') != -1)
+
+        # test addinginfo box
+        self.assert_(response.getBody().find('id="addinginfo"') != -1)
+
+
+def test_suite():
+    suite = unittest.TestSuite()
+    TestBostonSkin.layer = BostonLayer
+    suite.addTest(unittest.makeSuite(TestBostonSkin))
+    return suite
+
+if __name__=='__main__':
+    unittest.main(defaultTest='test_suite')
+

Modified: zope.app.boston/trunk/src/zope/app/boston/ftesting.zcml
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/ftesting.zcml	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/src/zope/app/boston/ftesting.zcml	2007-11-04 23:53:30 UTC (rev 81497)
@@ -21,7 +21,7 @@
   <include package="zope.app.securitypolicy" />
 
   <securityPolicy
-    component="zope.app.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
+      component="zope.securitypolicy.zopepolicy.ZopeSecurityPolicy" />
 
   <role id="zope.Manager" title="Site Manager" />
 

Deleted: zope.app.boston/trunk/src/zope/app/boston/ftests.py
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/ftests.py	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/src/zope/app/boston/ftests.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -1,34 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2003, 2004,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 Boston skin.
-
-$Id$
-"""
-import unittest
-
-from zope.testing import doctest
-from zope.app.testing.functional import FunctionalDocFileSuite
-from zope.app.boston.testing import BostonLayer
-
-def test_suite():
-    boston_doctest = FunctionalDocFileSuite(
-        "README.txt",
-        optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
-    boston_doctest.layer = BostonLayer
-    return unittest.TestSuite((
-        boston_doctest,
-        ))
-
-if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')

Copied: zope.app.boston/trunk/src/zope/app/boston/tests.py (from rev 81496, zope.app.boston/trunk/src/zope/app/boston/ftests.py)
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/tests.py	                        (rev 0)
+++ zope.app.boston/trunk/src/zope/app/boston/tests.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -0,0 +1,34 @@
+##############################################################################
+#
+# Copyright (c) 2003, 2004,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 Boston skin.
+
+$Id$
+"""
+import unittest
+
+from zope.testing import doctest
+from zope.app.testing.functional import FunctionalDocFileSuite
+from zope.app.boston.testing import BostonLayer
+
+def test_suite():
+    boston_doctest = FunctionalDocFileSuite(
+        "README.txt",
+        optionflags=doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE)
+    boston_doctest.layer = BostonLayer
+    return unittest.TestSuite((
+        boston_doctest,
+        ))
+
+if __name__ == '__main__':
+    unittest.main(defaultTest='test_suite')

Modified: zope.app.boston/trunk/src/zope/app/boston/viewlets/addinginfo/browser.py
===================================================================
--- zope.app.boston/trunk/src/zope/app/boston/viewlets/addinginfo/browser.py	2007-11-04 23:42:49 UTC (rev 81496)
+++ zope.app.boston/trunk/src/zope/app/boston/viewlets/addinginfo/browser.py	2007-11-04 23:53:30 UTC (rev 81497)
@@ -15,11 +15,10 @@
 
 $Id$
 """
-
 from zope.component import queryMultiAdapter
 from zope.interface import implements
 
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.i18nmessageid import ZopeMessageFactory as _
 from zope.app.boston import OrderedViewlet
 from zope.app.boston.viewlets.addinginfo.interfaces import IAddingInfoViewlet
 



More information about the Checkins mailing list