Skip to content

Commit edd604f

Browse files
committed
fix: the generated sdist file should contain everything needed to check and test the code, and to build the documentation as well
1 parent acc0409 commit edd604f

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,18 @@ omit = [
119119
]
120120

121121

122-
# https://flit.pypa.io/en/latest/pyproject_toml.html#sdist-section
122+
# https://flit.pypa.io/en/stable/pyproject_toml.html#sdist-section
123123
# See also: https://github.com/pypa/flit/issues/565
124+
# See also: https://github.com/pypa/flit/discussions/745
124125
[tool.flit.sdist]
125126
include = []
126127
exclude = [
127128
".github/",
128-
"docs/",
129-
"tests/",
130-
".flake8",
129+
".vscode/",
131130
".gitignore",
132-
".pre-commit-config.yaml",
131+
".gitattributes",
133132
"CHANGELOG.md",
134-
"Makefile",
133+
"CODEOWNERS",
135134
"SECURITY.md",
136135
]
137136

0 commit comments

Comments
 (0)