Skip to content

Allow changing build isolation settings in setup.py #12978

Open
@Martmists-GH

Description

@Martmists-GH

What's the problem this feature will solve?

I'm working on a tool to target the CPython API with custom languages. For this purpose, an external build tool is used.

Ever since build isolation, everyone will need to add --no-build-isolation when installing a library built with this.

Describe the solution you'd like

If we can toggle the --no-build-isolation flag in setup.py, we can make sure the files configuring the external build system are present.

Alternative Solutions

I have not found a way to tell pip to include the build toolchain (e.g. Gradle) from the current directory to the temporary directory it runs the build step in.

Additional context

Example of a toolchain using Gradle: https://github.com/Martmists-GH/kpy-plugin

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    C: build logicStuff related to metadata generation / wheel generationresolution: needs standardShould be agreed as a standard before implementationtype: feature requestRequest for a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions