Skip to content

Conversation

takluyver
Copy link
Member

This aligns the default behaviour of flit build with using flit_core as a backend for other tools like python -m build. By default, sdists will only include the files that appear to be necessary - the package contents and other files referenced in pyproject.toml.

Packages should generally specify sdist includes to include things like documentation source files & tests. I might get round to making a tool to guess this from git. 🤷

@takluyver takluyver added this to the 4.0 milestone Sep 13, 2025
@takluyver takluyver mentioned this pull request Sep 14, 2025
5 tasks
@takluyver takluyver merged commit e3a68fd into main Sep 20, 2025
16 checks passed
@takluyver takluyver deleted the default-no-vcs branch September 20, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant