Skip to content

Commit 3c3c7db

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 e3e2e58 commit 3c3c7db

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,18 @@ omit = [
121121
]
122122

123123

124-
# https://flit.pypa.io/en/latest/pyproject_toml.html#sdist-section
124+
# https://flit.pypa.io/en/stable/pyproject_toml.html#sdist-section
125125
# See also: https://github.com/pypa/flit/issues/565
126+
# See also: https://github.com/pypa/flit/discussions/745
126127
[tool.flit.sdist]
127128
include = []
128129
exclude = [
129130
".github/",
130131
".vscode/",
131-
"docs/",
132-
"tests/",
133-
".flake8",
134132
".gitattributes",
135133
".gitignore",
136-
".pre-commit-config.yaml",
137134
"CHANGELOG.md",
138135
"CODEOWNERS",
139-
"Makefile",
140136
"SECURITY.md",
141137
]
142138

0 commit comments

Comments
 (0)