-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Ignoring files for "sdist"? #554
Comments
I think we can add support for MANIFEST.in ? cc @konstin |
Here is how setuptools implementing this: https://github.com/pypa/setuptools/blob/2234e88b7b820c40f29d7ddadc182b0f130eaa1d/setuptools/_distutils/filelist.py#L104-L175 |
maturin calls As far as I can tell cargo's mechanism covers all relevant usecases of MANIFEST.in, so I don't think we need to support that. |
If we implement this mixed layout, maybe |
Thank you, @konstin. The Cargo.toml parts for exclude seem pretty exactly to be what I was after. |
MANIFEST.in is underspecified custom DSL that's much more complex than cargo's gitignore + include/exclude and also lacks the tooling support of the latter (e.g. IDE integration of gitignore as well as |
As the user who asked the question, I'm totally fine with the Cargo.toml / .gitignore solution. Not figuring that out from the documentation was my main problem, ( as it was a "new" project and didn't have any proper commits) |
I agree supporting We could do what Poetry does in |
When running "maturin sdist", I noticed that it's very greedy on files being added to the tarball. Is there a good way to control or ignore various parts of the tree for that? In my case, it started to break due to cross-compile chroot folders in my working dir contained dangling symbolic links.
An obvious solution is of course to keep the project directory "clean", so I'm not really considering this a "bug", more of a "how do I do this?" kind of question.
The text was updated successfully, but these errors were encountered: