Repository navigation
Commit 4543b2f
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 5ecbc0d commit 4543b2f
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
108 | 116 | | |
109 | 117 | | |
110 | 118 | | |
| |||
0 commit comments