[Distutils] pkg_resources.declare_namespace vs pkgutil.extend_path

Jim Fulton jim at zope.com
Fri Aug 11 20:07:02 CEST 2006


We currently have two ways of implementing namespace packages,

   pkg_resources.declare_namespace vs pkgutil.extend_path

Do we need 2?

What does pkg_resources.declare_namespace do that pkgutil.extend_path  
does, other than provide zip file support?  Can we consolidate them  
somehow?

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the Distutils-SIG mailing list