A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2009-May/089562.html below:

[Python-Dev] .pth files are evil

[Python-Dev] .pth files are evil [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
editing sys.path)?

Regards,
Martin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4