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

Support way to filter data files #524

Open
analog-cbarber opened this issue Feb 5, 2022 · 1 comment
Open

Support way to filter data files #524

analog-cbarber opened this issue Feb 5, 2022 · 1 comment

Comments

@analog-cbarber
Copy link

As things stand currently, flit will include any file in your source package other than your .pyc files.

This often works, but there can sometimes be other files there which you may not want to include in your distribution.

Support for a package_data option would be sufficient.

This is not quite the same as issue #358, since that appears to be asking for a way to include external data files.

@takluyver
Copy link
Member

As things stand, excluding files from your sdist should mostly work, since both flit build and python -m build default to building an sdist first, then unpacking that and using the resulting files to build a wheel. But with either tool, asking them to build only a wheel will bypass that. We should probably fix that discrepancy.

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

No branches or pull requests

2 participants