I’m looking for a way to save pip configuration that’s specific to the project.
In particular, I’d like to tell it to use --no-build-isolation when doing an editable install. [*]
what I see is:
global
: system-wide configuration file, shared across users.user
: per-user configuration file.site
: per-environment configuration file; i.e. per-virtualenv.
Which all makes sense, and for the most part, is what you want.
But in my case, I’m interested in stuff that has to do with building the project, so is about that project specifically.
Of course, pip is supposed to be a package manager, not a build tool, so ???
Well, the case in point is the somewhat neglected editable option:
As far as I can tell, pip is the only front end that can drive an editable install. The build package doesn’t include that.
So I’d like to be able to tell pip what to do by default for an editable install, for this project.
Hmm – maybe what I really want is for build to support an editable install – is it an install or a build process? it’s both!
Why do I want this?
Because I have a team, and a number of users, that are working with and testing a complex package under development – so editable installs are ideal. But it’s a pain to remember to call --no-build-isolation
(and how to spell it) – AND this package has a bunch of C/cython extensions, so it does need to be rebuilt fairly often.
Anyway – ideas welcome – maybe there is a solution already that I’ve missed?
[*] NOTE: what I’d really love is to have --no-build-isolation
be the default for editable installs – editable installs really are a different beast – it makes sense to have different defaults – but I suppose that ship has sailed…