Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use include rather than exclude to find_namespace_packages in se…
…tup.py (#502) https://setuptools.pypa.io/en/latest/userguide/package_discovery.html has a warning: > Please have in mind that find_namespace: (setup.cfg), > find_namespace_packages() (setup.py) and find (pyproject.toml) > will scan all folders that you have in your project directory > if you use a flat-layout. That applies here. Without this change, if you run: 'python3 setup.py bdist_wheel' then you may end up with build/ in your wheel, and in some cases even docs/ and testing/ . The fix is to only include proto and proto.*. Signed-off-by: Scott Moser <[email protected]> Co-authored-by: Anthonios Partheniou <[email protected]>
- Loading branch information