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
This should fix the error I'm getting after moving DockerFile inside a directory. The current error is:
```
Downloaded uvloop
× Failed to build `inception @ file:///home/runner/work/inception/inception`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_editable` failed (exit
status: 1)
[stderr]
error: Multiple top-level packages discovered in a flat-layout:
['docker', 'inception'].
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.
hint: This usually indicates a problem with the package or the build
environment.
Error: Process completed with exit code 1.
```
That's coming from the lint CI. Stack overflow says this should help:
https://stackoverflow.com/a/72547402/64911
0 commit comments