Open
Description
setuptools version
57.0.1.dev3+ga5131f0b.post.20210528a
Python version
cpython 3.9
OS
Ubuntu 21.04
Additional environment information
No response
Description
[options.packages.find]
exclude =
arpeggio.tests
doesn't work. In fact it doesn't work in a lot of other projects. But in other projects there usually no more than 2 levels in the excluded dir, so the workaround tests
and tests.*
works.
Expected behavior
Should exclude the whole hierarchy if a dir is mentioned.
How to Reproduce
https://github.com/textX/Arpeggio/tree/f24ceb0e79f6c9216dc035de123a388d113a332e
Output
....
adding 'arpeggio/tests/__init__.py'
adding 'arpeggio/tests/test_decorator_combine.py'
adding 'arpeggio/tests/test_default_semantic_action.py'
adding 'arpeggio/tests/test_eolterm.py'
adding 'arpeggio/tests/test_error_reporting.py'
adding 'arpeggio/tests/test_examples.py'
....
Code of Conduct
- I agree to follow the PSF Code of Conduct