Skip to content

Commit 57705d0

Browse files
farhanclaude
andcommitted
chore: update setuptools excludes and coverage config per PR openedx#253
- Add "docs*" to packages.find excludes - Switch coverage source to source_pkgs, tighten omit to */tests/*, remove data_file Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cdaac8f commit 57705d0

2 files changed

Lines changed: 7 additions & 18 deletions

File tree

MANIFEST.in

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,4 @@
1-
# Include tests in source distribution
2-
recursive-include xapi_db_load/tests *
3-
4-
# Exclude development and documentation folders
5-
prune .github
6-
prune docs
7-
prune logs
8-
prune private_configs
9-
10-
# Exclude root level configuration and build files
11-
exclude Makefile
12-
exclude conftest.py
13-
exclude .gitignore
14-
exclude tox.ini
1+
include CHANGELOG.rst
2+
include LICENSE.txt
3+
include README.rst
4+
recursive-include xapi_db_load *.html *.png *.gif *.js *.css *.jpg *.jpeg *.svg *.csv

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Repository = "https://github.com/openedx/xapi-db-load"
4747
include-package-data = true
4848

4949
[tool.setuptools.packages.find]
50-
exclude = ["tests*", "*.tests", "*.tests.*"]
50+
exclude = ["tests*", "*.tests", "*.tests.*", "docs*"]
5151

5252
[tool.setuptools.package-data]
5353
"*" = [
@@ -122,10 +122,9 @@ uv_constraints = []
122122

123123
[tool.coverage.run]
124124
branch = true
125-
data_file = ".coverage"
126-
source = ["xapi_db_load"]
125+
source_pkgs = ["xapi_db_load"]
127126
omit = [
128-
"tests",
127+
"*/tests/*",
129128
]
130129

131130
[tool.coverage.report]

0 commit comments

Comments
 (0)