Skip to content

Commit

Permalink
Switch to pkgutil namespace technique. Ref jaraco/jaraco.functools#9
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 1, 2019
1 parent 69a443c commit f8abe39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGES.rst
@@ -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.9
===

Expand Down
2 changes: 1 addition & 1 deletion jaraco/__init__.py
@@ -1 +1 @@
__import__("pkg_resources").declare_namespace(__name__)
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
1 change: 0 additions & 1 deletion setup.cfg
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 f8abe39

Please sign in to comment.