[Checkins] SVN: zope.configuration/branches/chrism-configmachine/ moved zope.configmachine to a separate package

Chris McDonough chrism at plope.com
Sun Aug 28 21:08:51 EDT 2011


Log message for revision 122700:
  moved zope.configmachine to a separate package

Changed:
  _U  zope.configuration/branches/chrism-configmachine/
  U   zope.configuration/branches/chrism-configmachine/buildout.cfg
  U   zope.configuration/branches/chrism-configmachine/setup.py
  _U  zope.configuration/branches/chrism-configmachine/src/
  D   zope.configuration/branches/chrism-configmachine/src/zope/configmachine/

-=-

Property changes on: zope.configuration/branches/chrism-configmachine
___________________________________________________________________
Modified: svn:ignore
   - bin
eggs
build
dist
lib
setup.cfg
.installed.cfg
parts
develop-eggs

   + bin
eggs
build
dist
lib
setup.cfg
.installed.cfg
.mr.developer.cfg
parts
develop-eggs


Modified: zope.configuration/branches/chrism-configmachine/buildout.cfg
===================================================================
--- zope.configuration/branches/chrism-configmachine/buildout.cfg	2011-08-29 00:54:36 UTC (rev 122699)
+++ zope.configuration/branches/chrism-configmachine/buildout.cfg	2011-08-29 01:08:51 UTC (rev 122700)
@@ -1,7 +1,12 @@
 [buildout]
+extensions = mr.developer
+auto-checkout = zope.configmachine
 develop = .
 parts = test python
 
+[sources]
+zope.configmachine = svn svn+ssh://svn.zope.org/repos/main/zope.configmachine/trunk
+
 [test]
 recipe = zc.recipe.testrunner
 eggs = zope.configuration [test]

Modified: zope.configuration/branches/chrism-configmachine/setup.py
===================================================================
--- zope.configuration/branches/chrism-configmachine/setup.py	2011-08-29 00:54:36 UTC (rev 122699)
+++ zope.configuration/branches/chrism-configmachine/setup.py	2011-08-29 01:08:51 UTC (rev 122700)
@@ -43,21 +43,18 @@
     logging.getLogger().addHandler(NullHandler())
 
     suite = unittest.TestSuite()
-    config_base = pkg_resources.working_set.find(
+    base = pkg_resources.working_set.find(
         pkg_resources.Requirement.parse('zope.configuration')).location
-    configmachine_base = pkg_resources.working_set.find(
-        pkg_resources.Requirement.parse('zope.configmachine')).location
-    for base in (config_base, configmachine_base):
-        for dirpath, dirnames, filenames in os.walk(base):
-            if os.path.basename(dirpath) == 'tests':
-                for filename in filenames:
-                    if ( filename.endswith('.py') and
-                         filename.startswith('test') ):
-                        mod = __import__(
-                            _modname(dirpath, base,
-                                     os.path.splitext(filename)[0]),
-                            {}, {}, ['*'])
-                        suite.addTest(mod.test_suite())
+    for dirpath, dirnames, filenames in os.walk(base):
+        if os.path.basename(dirpath) == 'tests':
+            for filename in filenames:
+                if ( filename.endswith('.py') and
+                     filename.startswith('test') ):
+                    mod = __import__(
+                        _modname(dirpath, base,
+                                 os.path.splitext(filename)[0]),
+                        {}, {}, ['*'])
+                    suite.addTest(mod.test_suite())
     return suite
 
 setup(name='zope.configuration',
@@ -96,6 +93,7 @@
       install_requires=['zope.i18nmessageid',
                         'zope.interface',
                         'zope.schema',
+                        'zope.configmachine',
                         'setuptools',
                        ],
       include_package_data=True,


Property changes on: zope.configuration/branches/chrism-configmachine/src
___________________________________________________________________
Modified: svn:ignore
   - zope.configuration.egg-info

   + zope.configuration.egg-info
zope.configmachine





More information about the checkins mailing list