Skip to content

Support for customising build.sub_commands directly from distutils has been deprecated and is about to be removed from setuptools #62

@abravalheri

Description

@abravalheri

The following feature in setuptools has been deprecated for almost 2 years and is about to be removed:

https://github.com/pypa/setuptools/blob/1ed759173983656734c3606e9c97a348895e5e0c/setuptools/command/build.py#L13-L27

It might be a good idea to import build directly from setuptools for the following code:

distutils_build.sub_commands.insert(0, ('gen_parsetab', lambda _: True))

(build is available directly from setuptools, starting on version v62.4.0)

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