Skip to content

Commit

Permalink
Switch to pkgutil namespace technique
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 1, 2019
1 parent 6b97b28 commit d84738a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2.0
===

Switch to `pkgutil namespace technique
<https://packaging.python.org/guides/packaging-namespace-packages/#pkgutil-style-namespace-packages>`_
for the ``jaraco`` namespace.

1.20
====

Expand Down
2 changes: 1 addition & 1 deletion jaraco/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__import__("pkg_resources").declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ classifiers =

[options]
packages = find:
namespace_packages = jaraco
include_package_data = true
python_requires = >=2.7
install_requires =
Expand Down

0 comments on commit d84738a

Please sign in to comment.