Skip to content

Commit c82a5ef

Browse files
committed
Add missing files to sdist
Update the flit configuration to include documentation and test files in source distribution again. The flit defaults changed recently, and the files are missing in 9.0.0 release. Signed-off-by: Michał Górny <mgorny@gentoo.org>
1 parent 2db8427 commit c82a5ef

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,18 @@ statistics = true
101101
ignore = "E202"
102102
exclude = "./data,./src,.svn,CVS,.bzr,.hg,.git,__pycache__"
103103

104+
[tool.flit.sdist]
105+
include = [
106+
"AUTHORS.md",
107+
"CHANGELOG.md",
108+
"CITATION.cff",
109+
"conftest.py",
110+
"docs/",
111+
"mypy.ini",
112+
"noxfile.py",
113+
"tests/",
114+
"uv.lock",
115+
]
116+
104117
[tool.pytest.ini_options]
105118
addopts = "--pdbcls=IPython.terminal.debugger:Pdb"

0 commit comments

Comments
 (0)