Closed musicinmybrain closed 6 months ago
I'm not sure that we want to exclude tests from the distribution package. I know that opinions differ, but I tend to think that having tests with an installed package can be useful.
Having said that, some tests provided with pyxdf require testing data from a different repository, so they would not work out of the box. Therefore, I'm fine with removing the tests (for now). Can you also remove the other two unused entries?
Eventually, we should switch to pyproject.toml
BTW.
Thanks for the feedback. That’s a reasonable (and reasonably nuanced) perspective.
I’ve removed the unused excludes in a follow-up commit.
Thanks @musicinmybrain!
It seems like this was the intent from the beginning, but the pattern
tests*
in theexcludes
forfind_package
does not match anything. This PR adjusts that pattern topyxdf.test*
so that the tests are not unnecessarily included with wheel/binary distributions.The other two entries,
contrib
anddocs
, could also be removed, since they don’t match anything either.