Another alternative is making "pip the library" as has been discussed in the past.
Certainly my needs would be satisfied by a library that can get me as far as wheel files given package name/s and version spec (and index URL I guess). Unpacking wheels isn't especially difficult and in my case I know there are no existing installs to worry about. Top-posted from my Windows Phone -----Original Message----- From: "Paul Moore" <p.f.mo...@gmail.com> Sent: 2/17/2016 2:10 To: "Robert Collins" <robe...@robertcollins.net> Cc: "Steve Dower" <pyt...@stevedower.id.au>; "Python Distutils SIG" <Distutils-Sig@python.org> Subject: Re: [Distutils] deprecating pip install --target On 16 February 2016 at 22:52, Robert Collins <robe...@robertcollins.net> wrote: >> An alternative would be great, though I can probably fake things somehow for >> my purposes. > > Sounds similar to Daniel's need - and again, --prefix + setting PATH > and PYTHONPATH would be better. Note that if I read the help for --prefix correctly, "pip install --target x foo" puts foo in x, whereas "pip install --prefix x foo" puts foo in x/lib. So how would setting prefix allow me to put foo in x, and not in a subdirectory? That is specifically my requirement (and the vendoring requirement in general). I *know* that means there's no obvious place to put data files or extensions or whatever, and that's fine by me. It seems that if we want to go down this route, we need to include the full set of --install-purelib, --install-platlib, --install-scripts etc arguments to pip. But that's probably the wrong solution - if we want to start playing with the various install location parameters to pip install (--target, --prefix, --root) we should probably do a "proper" job and just find a way to allow user-defined schemes. Paul _______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig