[Distutils] [Numpy-discussion] Proposal: stop supporting 'setup.py install'; start requiring 'pip install .' instead
Nathaniel Smith
njs at pobox.com
Sat Nov 7 18:15:06 EST 2015
On Sat, Nov 7, 2015 at 2:44 PM, Paul Moore <p.f.moore at gmail.com> wrote:
> On 7 November 2015 at 16:33, Ralf Gommers <ralf.gommers at gmail.com> wrote:
>> I had an example above of installing into different venvs. Full rebuilds for
>> that each time are very expensive.
>
> Why doesn't wheel caching solve this problem? That's what it's *for*, surely?
The wheel cache maps (name, version) -> wheel. If I hand you a source
directory, you may not even be able to determine the (name, version)
except via building a wheel (depending on the resolution to that other
thread about egg_info/dist-info commands). And it's certainly not true
in general that you can trust the (name, version) from a working
directory to indicating anything meaningful -- e.g. every commit to
pip mainline right now creates a new different "pip 8.0.0.dev0". So
what would you even use for your cache key? I don't see how wheel
caching can really help here.
-n
--
Nathaniel J. Smith -- http://vorpus.org
More information about the Distutils-SIG
mailing list