Skip to content

Disable nspkg.pth magic when PEP-420 is available #805

@jaraco

Description

@jaraco

In pypa/pip#1924, we find that setuptools is generating the -nspkg.pth files that are bootstrapping the namespace packages, but these files are unnecessary when PEP-420 is present (Python 3.3+) and in fact interfere with pure PEP-420 namespace packages.

It seems the solution may be simple - bypass this behavior when PEP-420 is detected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions