9 May
2009
9 May
'09
2:42 p.m.
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 editing sys.path)? Regards, Martin