Commit c197961
refactor: move package source to src/ layout (#32)
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>
Co-authored-by: Kyle D McCormick <kyle@axim.org>1 parent 0884981 commit c197961
21 files changed
Lines changed: 13 additions & 14 deletions
File tree
- backend
- docs
- src/sample_plugin
- conf/locale
- migrations
- settings
- templates/sample_plugin
- tutor
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
526 | | - | |
| 525 | + | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
97 | 101 | | |
98 | | - | |
99 | | - | |
| 102 | + | |
100 | 103 | | |
101 | 104 | | |
102 | 105 | | |
| |||
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