Repository navigation
Commit 1b89453
Clarify namespace package requirements in plugin discovery guide
The "Using namespace packages" section only described pkgutil-style
namespace sub-packages (requiring an `__init__.py`), which contradicts
PEP 420 native namespace packages. Describe both variants, mention
`find_namespace_packages`, and note that `import myapp.plugins` fails
when no plugin is installed.
Fixes #1104
Co-authored-by: jeej1k <351634202+jeej1k@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>1 parent 70421ab commit 1b89453
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
113 | 121 | | |
114 | 122 | | |
115 | 123 | | |
| |||
0 commit comments