There are a lot of places where a general hook would be really useful, and I
have a plan for how to add them to the "nest" tool that will replace
easy_install. (Alternately, perhaps "pip" could grow the hook mechanism I have
in mind, and I could just not write "nest", since it will be doing some of the
same things.)
However, for this specific issue, I'd like to do a less ambitious fix, so as to
fix the problem while freeing up more time to work on the cleaner install tool.
OTOH, even if we did provide the hook you're proposing, it would still leave the
problem of specification. A command-line option works for the direct "install"
case, but not for package building.
As I asked previously, are there any sane use cases for building a bdist of any
sort targeting a hardwired virtualenv path? Or should --root always force
stripping of the virtualenv?
|