Commit 43f3f3b
fix: Use include rather than exclude to find_namespace_packages in setup.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 <smoser@brickies.net>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>1 parent 9f548fb commit 43f3f3b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments