[Distutils] Want to use PackageIndex (and other APIs)

2006-08-11 Thread Jim Fulton
I'd like to start using the PackageIndex class. For now, I want to use: - The constructor (of course) - prescan and - __getitem__. I imagine I'll use other methods in the long term. I'd be happy to document these as I go. Is there any problem with considering these public? As I

[Distutils] pkg_resources.declare_namespace vs pkgutil.extend_path

2006-08-11 Thread Jim Fulton
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 --

Re: [Distutils] pkg_resources.declare_namespace vs pkgutil.extend_path

2006-08-11 Thread Phillip J. Eby
At 02:07 PM 8/11/2006 -0400, Jim Fulton wrote: We currently have two ways of implementing namespace packages, pkg_resources.declare_namespace vs pkgutil.extend_path Do we need 2? Um, maybe? :) What does pkg_resources.declare_namespace do that pkgutil.extend_path does, other than provide