-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
check-manifest doesn't understand cases where VCS contents legitimately differ from sdist #58
Comments
-1 The point of an You should use wheel to produce installable distributions, since then you don't even need a C compiler to install them. |
I also find this confusing. Is it possible to ignore this warning? At the moment, I'm not able to use it in a Jenkins pipeline because it returns the wrong exit code. But maybe I'm misunderstanding how to use it, that it's not meant for this use? How did you solve this @mgedmin? |
I don't have packages that distribute generated files ;) Which is why this issue is staying open so long -- I don't have a test case, and other people are for some reason not opening pull requests. @vegarsti do you have an open source githup repo you could point me at, that suffers from this problem? |
@mgedmin Unfortunately not yet, need to tick a few boxes first. Will let you know! Thanks for being helpful! |
nixphix/scikit-learn@bd3b368#diff-380c6a8ebbbce17d55d50ef17d3cf906R32 is not using the right syntax
Let me know if that resolves your problem! |
Sometimes you want to put generated files in the sdists, but you don't want to have them under version control. E.g. when you use Cython, you want to generate .c files and include them in sdists so your users don't have to have Cython installed to build your software -- all they'd need is a C compiler.
Currently check-manifest is ignorant of situations like these and warns about those generated files missing from VCS.
I think this is most likely a documentation bug:
ignore = *.c
in a setup.cfg?)ignore = *.c
if it sees*.c
orcython.dat
in the "missing from VCS listSome research is needed, e.g. what even is
cython.dat
and should it be present in sdists?The text was updated successfully, but these errors were encountered: