[Checkins] SVN: zope.copypastemove/trunk/ Avoid zope.app.component and testing dependencies.

Hanno Schlichting hannosch at hannosch.eu
Wed Dec 16 18:22:04 EST 2009


Log message for revision 106678:
  Avoid zope.app.component and testing dependencies.
  

Changed:
  U   zope.copypastemove/trunk/CHANGES.txt
  U   zope.copypastemove/trunk/setup.py
  U   zope.copypastemove/trunk/src/zope/copypastemove/tests/test_clipboard.py

-=-
Modified: zope.copypastemove/trunk/CHANGES.txt
===================================================================
--- zope.copypastemove/trunk/CHANGES.txt	2009-12-16 23:11:17 UTC (rev 106677)
+++ zope.copypastemove/trunk/CHANGES.txt	2009-12-16 23:22:04 UTC (rev 106678)
@@ -2,6 +2,11 @@
 CHANGES
 =======
 
+3.6.0 (unreleased)
+------------------
+
+- Avoid zope.app.component and testing dependencies.
+
 3.5.2 (2009-08-15)
 ------------------
 

Modified: zope.copypastemove/trunk/setup.py
===================================================================
--- zope.copypastemove/trunk/setup.py	2009-12-16 23:11:17 UTC (rev 106677)
+++ zope.copypastemove/trunk/setup.py	2009-12-16 23:22:04 UTC (rev 106678)
@@ -16,8 +16,9 @@
 # When developing and releasing this package, please follow the documented
 # Zope Toolkit policies as described by this documentation.
 ##############################################################################
-version = '0'
 
+version = '3.6.0dev'
+
 from setuptools import setup, find_packages
 
 long_description = (open('README.txt').read() +
@@ -43,8 +44,7 @@
       package_dir = {'': 'src'},
       namespace_packages=['zope',],
       extras_require=dict(
-          test=['zope.app.testing',
-                'zope.app.component',
+          test=['zope.testing',
                 'zope.app.principalannotation']),
       install_requires=['setuptools',
                         'zope.annotation',

Modified: zope.copypastemove/trunk/src/zope/copypastemove/tests/test_clipboard.py
===================================================================
--- zope.copypastemove/trunk/src/zope/copypastemove/tests/test_clipboard.py	2009-12-16 23:11:17 UTC (rev 106677)
+++ zope.copypastemove/trunk/src/zope/copypastemove/tests/test_clipboard.py	2009-12-16 23:22:04 UTC (rev 106678)
@@ -21,7 +21,7 @@
 from zope.copypastemove.interfaces import IPrincipalClipboard
 from zope.copypastemove import PrincipalClipboard
 
-from zope.app.component.testing import PlacefulSetup
+from zope.component.testing import PlacelessSetup
 from zope.app.principalannotation import PrincipalAnnotationUtility
 from zope.app.principalannotation.interfaces import IPrincipalAnnotationUtility
 
@@ -31,11 +31,9 @@
         self.id = id
 
 
-class PrincipalClipboardTest(PlacefulSetup, unittest.TestCase):
+class PrincipalClipboardTest(PlacelessSetup, unittest.TestCase):
 
     def setUp(self):
-        self.buildFolders()
-
         gsm = zope.component.getGlobalSiteManager()
         gsm.registerAdapter(PrincipalClipboard, (IAnnotations, ),
                             IPrincipalClipboard)



More information about the checkins mailing list