Skip to content

Use custom build comand for editable install of the project #1187

@vigneshmanick

Description

@vigneshmanick

Problem description

We have a python c++ project and there are other commands that need to be run before running python -m pip install -e . , setting environment variables(CMAKE_ARGS) , preparing necessary data etc.

For this purpose we have created an install.py which works cross platform. It would awesome if a custom command could be specified for the pyproject.toml editable dependency that has been implemented in #1084

example

[pypi-dependencies]
minimal-project = { path = ".", editable = true, build_cmd=["python install.py develop"]}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    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