[Distutils] [Python-Dev] At least one package management tool for 2.7
robert.kern at gmail.com
Thu Mar 25 03:58:42 CET 2010
On 2010-03-24 19:56 , P.J. Eby wrote:
> At 05:27 PM 3/24/2010 -0500, Robert Kern wrote:
>> Since setuptools changes the behavior of the install command to
>> install .eggs, those packages need extra flags to use pip's preferred
>> flat installs. Using easy_install (with the right flags) yields
>> consistent behavior for all packages.
> Technically, those flags cause setuptools to *not* use easy_install, but
> rather to use more-or-less plain vanilla distutils installation. I
> haven't looked at pip's code, but I doubt it's relying on easy_install
> at all.
It does the 'python -c "import setuptools;execfile(...)" install --flags' trick.
It uses setuptools to make sure that it can pass the same flags for both
setuptools-using and non-setuptools-using packages.
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Distutils-SIG