Just FYI this install breaks with the latest version of setuptools >= 61. It works for versions <61. The pip install command used was pip install voila-embed@git+https://github.com/mariobuikhuizen/voila-embed.git@304305219127a8a62e05df3122799b7a8b1ed26a
The full traceback is
Pip subprocess error:
Running command git clone --filter=blob:none --quiet https://github.com/mariobuikhuizen/voila-embed.git /tmp/pip-install-fl3foxjc/voila-embed_5a948850921e44d790fc0a234c84e51b
Running command git rev-parse -q --verify 'sha^304305219127a8a62e05df3122799b7a8b1ed26a'
Running command git fetch -q https://github.com/mariobuikhuizen/voila-embed.git 304305219127a8a62e05df3122799b7a8b1ed26a
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
error: Multiple top-level packages discovered in a flat-layout: ['share', 'example_site'].
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.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Just FYI this install breaks with the latest version of setuptools >= 61. It works for versions <61. The pip install command used was
pip install voila-embed@git+https://github.com/mariobuikhuizen/voila-embed.git@304305219127a8a62e05df3122799b7a8b1ed26a
The full traceback is