Skip to content

[BUG]: egg_info should be executed as part of the build #2761

@kloczek

Description

@kloczek

setuptools version

57.4.0

Python version

3.8.11

OS

Linux/x86_64

Additional environment information

N/A

Description

Many modules which have sphinx documentation which is possible to generate using setuptools<>sphinx integration needs fails on build_sphinx only because module metadata are not available.
Those metadata is possiblr to generate using egg_info command nad some of the modules dring tge build calls that setuptools comman but it is only because include_package_data=true or or gecause they are installing some data files.
More details with my try to prepare patch (which is wrong) are in #2756

Expected behavior

builld should check are module metadata available and if not egg_info should be executed.
Without that it is necessary to call manually egg_info beffore for example build_sphinx.

How to Reproduce

N/A

Output

N/A

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs InvestigationIssues which are likely in scope but need investigation to figure out the causeNeeds ReproIssues that need a reproducible example.Needs TriageIssues that need to be evaluated for severity and status.enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions