Skip to content

Don't include tests in distribution #101

@mason3k

Description

@mason3k

Currently, the tests are included in src so they are packaged in the distribution and installed by consumers. The tests do not need to be distributed, and doing so can cause subtle side effects like namespace conflicts with local tests when this is installed as a 3rd party dependency.

Ultimately, since tests are not intended to be importable by consumers of the package, I would not think they should be in src:
Image

See also:

Image - [source](https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-wheel)

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