[Distutils] setuptools and extra_path
bob at redivi.com
Mon Jul 17 23:47:30 CEST 2006
On Jul 17, 2006, at 2:33 PM, Phillip J. Eby wrote:
> At 12:26 AM 7/17/2006 -0700, Bob Ippolito wrote:
>> Is there any reason why setuptools totally ignores extra_path when
>> using compatibility mode (e.g. calling .run() manually or --single-
> It's probably an unintended side effect of the fact that setuptools
> doesn't support extra_path.
Why not support it with --single-version-externally-managed?
>> It makes uninstallation much more painful than it would've been
> Weren't you using --root or --record? You pretty much have to do
> one or the other for backward compatibility to be in effect, I
No, but it's a subclass of the install command. It's caught by this
caller = sys._getframe(2)
caller_module = caller.f_globals.get('__name__','')
caller_name = caller.f_code.co_name
if caller_module != 'distutils.dist' or caller_name!
# We weren't called from the command line or setup(), so we
# should run in backward-compatibility mode to support
More information about the Distutils-SIG