Skip to content

setuptools currently failing in CI #1623

@terriko

Description

@terriko
 │ ❱ 455 │   │   │   raise PackageDiscoveryError(cleandoc(msg))                 │
│   456 │                                                                      │
│   457 │   def analyse_name(self):                                            │
│   458 │   │   """The packages/modules are the essential contribution of the  │
╰──────────────────────────────────────────────────────────────────────────────╯
PackageDiscoveryError: Multiple top-level packages discovered in a flat-layout: 
['locales', 'cve_bin_tool', 'presentation'].

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.

I'm not sure why it's started doing this now since we've had the layout for a while, but since "locales" and "presentation" are both not actually packages, we need to either move them or update the config as directed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions