Commit aca223e
fix(packaging): prevent unwanted files and tests from being installed
Refine package discovery and manifest exclusions to clean up both
wheels and source distributions (sdists):
- Dev-only paths like `tools/` and `example/` are not installed in
wheels.
- The `codespell_lib.tests` subpackage is excluded from the wheel.
- Only files explicitly listed in `package-data` are bundled in wheels.
- Dev metadata (.github, .devcontainer, .gitignore, .mailmap) is pruned
from sdists.
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>1 parent 2dd2d21 commit aca223e
2 files changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
| 77 | + | |
74 | 78 | | |
75 | 79 | | |
76 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
| |||
0 commit comments