Skip to content

idea: "import hook" automatically installed with editable builds #1974

Open
@davidhewitt

Description

@davidhewitt

I was thinking about "editable" / dev installs today and it struck me, should we support automatically installing the import hook for pip install -e editable installs?

It would be quite nice if maturin-backed packages installed in editable mode automatically used the import hook. I think it would be possible by putting the hook installation in a .pth file. Maybe once in maturin's .pth, and then the hook can work out what packages have been installed in editable mode / whether to recompile?

That could be an interesting trick to make local development of Rust packages more seamless for those not used to compiling...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions