In my pypackage.meta:
...
"packages": "find_packages('src', include=['cucumber','cucumber.*'])",
...
When I run py-build, I get the following error:
error: package directory 'src/find_packages('src', include=['cucumber','cucumber/*'])' does not exist
I realize that exclude=[…] is the more common kwarg to find_packages. However, according to the setuptools documentation “Using find_packages”, the find_packages function accepts a starting dir, and “two lists of package name patterns to exclude and include”.
(You can reproduce this bug using the same steps as described in #12. ☻ )
In my
pypackage.meta:When I run
py-build, I get the following error:I realize that
exclude=[…]is the more common kwarg tofind_packages. However, according to the setuptools documentation “Usingfind_packages”, thefind_packagesfunction accepts a starting dir, and “two lists of package name patterns to exclude and include”.(You can reproduce this bug using the same steps as described in #12. ☻ )