Commit efc41fa
committed
python: add pkg_resources in the namespace __init__.py
For the __init__.py in the main package, this change follows
the advisory at
https://packaging.python.org/guides/packaging-namespace-packages/#pkg-resources-style-namespace-packages
to add the the line
__import__('pkg_resources').declare_namespace(__name__)
to ONLY the main package's directory i.e. in the same directory
level as setup.py
Fixes #41 parent 2abfa79 commit efc41fa
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
0 commit comments