My suggestion to the pip folks was a plugin system and extension point for
"install x" package that distros could provide implementations for

On Wed, 15 Feb 2023, 16:35 Stefano Rivera, <stefa...@debian.org> wrote:

> Hi Philippe (2023.02.13_01:11:28_+0000)
> > On Sun, Feb 12, 2023 at 7:31 PM Donald Stufft <don...@stufft.io> wrote:
> > >
> > > I'm pretty sure that most if not all debian packages already ship
> > > the required information for pip to see them as installed, and if
> > > they are installed and they satisfy the dependency constraints that
> > > pip has for those projects, then they'll be used.
>
> Yeah, most packages should ship .egg-info/.dist-info.
>
> > Also:
> > $ dpkg -l python3-setuptools
> > ...
> > ii  python3-setuptools 66.1.1-1     all          Python3 Distutils
> Enhancements
> >
> > Yet when I do e.g.:
> > $ pip install --editable .
> > Defaulting to user installation because normal site-packages is not
> writeable
> > Obtaining file:///home/test/example
> >   Installing build dependencies ... error
> >   error: subprocess-exited-with-error
>
> You sure it isn't doing an isolated build? Try --no-build-isolation.
>
> SR
>
> --
> Stefano Rivera
>   http://tumbleweed.org.za/
>   +1 415 683 3272
>

Reply via email to