Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --use-vcs and --no-use-vcs flags for build commands #625

Merged
merged 2 commits into from Feb 21, 2023
Merged

Conversation

takluyver
Copy link
Member

From the discussion on #522, this adds an option to not use the VCS to get the list of files to include in the sdist. So flit build --no-use-vcs is equivalent to python -m build with flit_core as a backend. The idea is that in a future version (4.0?), this will become the default, and you will need to use --use-vcs to explicitly choose the sdist-files-from-vcs behaviour.

I've also tried to improve the documentation about what gets included in the sdist by default.

@pfmoore
Copy link
Member

pfmoore commented Jan 27, 2023

+1 from me. The docs changes look good, and the plan for switching the default seems reasonable. I can't really comment on the code so I'll leave that for others.

One thing that I'd like which is missing, is a clear description of what files will be put in the wheel. Is it just "the stuff in the sdist that's from the package directory"? Having it explicitly stated would avoid any guessing.

@takluyver
Copy link
Member Author

@Carreau @pradyunsg I'm planning to merge this in a couple more days, so if you're not happy with this direction, now's the time to say so. 🙂

Copy link
Contributor

@Carreau Carreau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 from me.

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.

None yet

3 participants