[Distutils] moving things forward (was: wheel including files it shouldn't)
Paul Moore
p.f.moore at gmail.com
Thu May 5 08:51:42 EDT 2016
On 5 May 2016 at 13:36, Daniel Holth <dholth at gmail.com> wrote:
> Here's the kind of thing that you should expect. Someone will write
>
> setup.cfg:
>
> [bootstrap_requires]
> pbr
>
> pip installs pbr in a directory that is added to PYTHONPATH for that build.
Ah, so we don't install into the environment, just to a temporary
location which we add to PYTHONPATH. That is indeed a much better
approach than what I assumed, as it avoids any messing with the user's
actual environment. (We may need to be a bit more clever than just
adding the temporary directory to PYTHONPATH, to ensure that what we
install *overrides* anything in the user's environment, such as a
newer version of setuptools, but that's just implementation details).
Paul
More information about the Distutils-SIG
mailing list