crate / crate-python

Python DB API client library for CrateDB, using HTTP.
https://cratedb.com/docs/python/
Apache License 2.0
78 stars 31 forks source link

Python: Migrate to use "implicit namespace packages" (PEP 420) #666

Closed amotl closed 3 weeks ago

amotl commented 4 weeks ago

About

... instead of "declared namespaces" for the crate namespace package, see PEP 420, and setuptools docs about namespace_packages.

Historically, there were two methods to create namespace packages. One is the pkg_resources style supported by setuptools and the other one being pkgutils style offered by pkgutils module in Python. Both are now considered deprecated.

-- Legacy Namespace Packages

References

/cc @surister