Commit 5830a19
refactor: move package source to src/ layout
Moves sample_plugin/ into src/ to adopt the standard src-layout, which
prevents accidental imports from the source tree during tests and fixes
editable-install compatibility with mypy and other tools that rely on
proper package discovery.
- backend/sample_plugin/ moved to backend/src/sample_plugin/
- backend/pyproject.toml: add `where = ["src"]` to [tool.setuptools.packages.find]
- backend/MANIFEST.in: update recursive-include path, remove stale requirements/ lines
- backend/tox.ini: update quality tool invocations to use src/sample_plugin path
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0884981 commit 5830a19
18 files changed
Lines changed: 6 additions & 7 deletions
File tree
- backend
- src/sample_plugin
- conf/locale
- migrations
- settings
- templates/sample_plugin
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments