[Python-Dev] .pth files are evil
"Martin v. Löwis"
martin at v.loewis.de
Sat May 9 16:42:01 CEST 2009
>> If you always use --single-version-externally-managed with easy_install,
>> it will stop editing .pth files on installation.
> It's --multi-version (-m) that does that.
> --single-version-externally-managed is a "setup.py install" option.
> Both have the effect of not editing .pth files, but they do so in
> different ways. The "setup.py install" option causes it to install in a
> distutils-compatible layout, whereas --multi-version simply drops .egg
> files or directories in the target location and leaves it to the user
> (or the generated script wrappers) to add them to sys.path.
Ah, ok. Is there also an easy_install invocation that unpacks the zip
file into some location of sys.path (which then wouldn't require
More information about the Python-list