You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I build distros with python3 -m build I get a dist/grpc4bmi-0.4.0.tar.gz which contains the tests like test/test_client.py . The sdist should not contain test files.
The wheel does not contain any test files.
The text was updated successfully, but these errors were encountered:
error: Multiple top-level packages discovered in a flat-layout: ['cpp', 'data', 'proto', 'grpc4bmi'].
To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
ERROR Backend subprocess exited when trying to invoke get_requires_for_build_sdist
Also tried exclude = ["test"] to pyproject.toml:tool.setuptools.packages.find , but test/** still included.
Might need to switch to src-layout or other build tool like hatch.
When I build distros with
python3 -m build
I get adist/grpc4bmi-0.4.0.tar.gz
which contains the tests like test/test_client.py . The sdist should not contain test files.The wheel does not contain any test files.
The text was updated successfully, but these errors were encountered: