Skip to content

How to use build with customized setuptools commands #729

@T4mmi

Description

@T4mmi

Hi, this issue might be out of scope and I apologize if that's the case.
I have a setuptools extension that implements custom build commands to generate some third-party formated extensions from a python package (typically generate some tweaked metadata files and wraps everything in a zip archive).

Since python -m build is to replace python setup.py build, how to tell build to run a custom command (extend the --sdist/--wheel) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions