Update or remove warning when namespace package doesn't use declare_namespace()
When building a namespace package, Setuptools checks (by searching in the code) whether the
__init__.py therein calls
pkg_resources. If it doesn't it, it logs a warning, emitted here, which reads:
WARNING: (package) is a namespace package, but its __init__.py does not declare_namespace(); setuptools 0.7 will REQUIRE this! (See the setuptools manual under "Namespace Packages" for details.)
First of all, setuptools 0.7 now exists, so the future tense is somewhat worrisome. Also, I'm not sure whether requiring a
declare_namespace call is actually in the plans anymore. (My package, for example, accomplishes namespace packages using
pkgutil.extend_path from the standard library instead.) Some clarification, either in the warning or the docs, about what the plans are here would be helpful.