Skip to content

entry points are forgotten on setup.py to pyproject.toml #387

Description

@gforcada

Describe the bug

We ported all our internal python distributions to pyproject.toml using setup-to-pyproject and 💥 although tests were running fine, something had to be off...

To Reproduce

Convert a python distribution with setup.py to use pyproject.toml with setup-to-pyproject:

  • `uvx --from plone.meta setup-to-pyproject .
  • check that originally it had:
    entry_points="""
    # -*- Entry points: -*-
    [z3c.autoinclude.plugin]
    target = plone
    """,
  • check that on pyproject.toml there is no:
[project.entry-points."plone.autoinclude.plugin"]
target = "plone"

Expected behavior

Without this, the website breaks, and at least plone distributions are not found.

Software (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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