Skip to content

Is it possible to add a command for editable installs? #138

Closed

Description

@adam2392

I find myself repeating this workflow often when switching between branches:

./spin build -j 6 --clean
pip install --no-build-isolation --editable .

It's quite annoying because I always have to google to make sure I'm writing this pip install editable command correctly. I'm wondering if it's sensible to package this into a single command, install, which has the editable flag by default. Since this is a "developer tool" package, I assume this is reasonable.

Xref: https://meson-python.readthedocs.io/en/latest/how-to-guides/editable-installs.html

Activity

  1. adam2392 commented on Nov 8, 2023

    @adam2392
    ContributorAuthor

    Happy to even try a PR :)

  2. stefanv commented on Nov 8, 2023

    @stefanv
    Member

    That'd be great, Adam! Yes, how about we put it in spin.cmds.pip.install?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions