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
build: include .removed file in setup.py build #3653
Conversation
This file is required by tests when executing them with the build dir.
#3644 ? |
This should already be covered by #3644, which added the file to
|
MANIFEST.in seems to only affect |
When doing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When doing
python3 setup.py build
,.removed
is not copied tobuild/lib/streamlink/plugins/.removed
unless adding the line in setup.py.
Hm, indeed, interesting...
Could you please also remove the entry from MANIFEST.in
then, so that it's not specified twice?
Btw, not sure what makes more sense here, semantically speaking, |
I'm not 100% sure Just found this: https://stackoverflow.com/a/14159430 |
The first comment of this stackoverflow answer says:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, I guess it doesn't hurt leaving it in there. The file gets included on my system when I remove it from MANIFEST.in and keep the setup.py changes, but that's probably due to the "mysterious circumstances" which I described in #3644.
I was just wondering because of what I quoted above:
#3653 (comment)
This answer from stackoverflow kind of nails it:
Seriously, I feel like this ticket is a group therapy session for folks using setuptools and discovering just what a horrid place they have found themselves in life.
I won't merge this just yet, in case someone else has something to say.
You don't need another patch release after this, do you?
No I don't need another patch release :-) I have this PR as a patch for this one, this is fine as-is. Merging this will let me remove it later when there will be a new release, keeping the distribution patches as low as possible, but this is not urgent. |
I'm fine with this. The reasoning for it is sound as dumb as it is to have to include it. I'll leave this open just in case someone else comes along, otherwise I'll merge in a day or two. |
This file is required by tests when executing them with the build dir as it is done in Debian (as tests might require native .so files to be compiled for some python packages for example).