[Checkins] SVN: zc.recipe.cmmi/trunk/zc/ setuptools is required, so don't bother trying to deal with it's absense.

Jim Fulton jim at zope.com
Wed Nov 22 07:14:59 EST 2006


Log message for revision 71266:
  setuptools is required, so don't bother trying to deal with it's absense.
  

Changed:
  U   zc.recipe.cmmi/trunk/zc/__init__.py
  U   zc.recipe.cmmi/trunk/zc/recipe/__init__.py

-=-
Modified: zc.recipe.cmmi/trunk/zc/__init__.py
===================================================================
--- zc.recipe.cmmi/trunk/zc/__init__.py	2006-11-22 12:14:56 UTC (rev 71265)
+++ zc.recipe.cmmi/trunk/zc/__init__.py	2006-11-22 12:14:59 UTC (rev 71266)
@@ -1,6 +1 @@
-# namespace package boilerplate
-try:
-    __import__('pkg_resources').declare_namespace(__name__)
-except ImportError, e:
-    from pkgutil import extend_path
-    __path__ = extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)

Modified: zc.recipe.cmmi/trunk/zc/recipe/__init__.py
===================================================================
--- zc.recipe.cmmi/trunk/zc/recipe/__init__.py	2006-11-22 12:14:56 UTC (rev 71265)
+++ zc.recipe.cmmi/trunk/zc/recipe/__init__.py	2006-11-22 12:14:59 UTC (rev 71266)
@@ -1,6 +1 @@
-# namespace package boilerplate
-try:
-    __import__('pkg_resources').declare_namespace(__name__)
-except ImportError, e:
-    from pkgutil import extend_path
-    __path__ = extend_path(__path__, __name__)
+__import__('pkg_resources').declare_namespace(__name__)



More information about the Checkins mailing list