aboutsummaryrefslogtreecommitdiffstats
path: root/site.py
Commit message (Collapse)AuthorAgeFilesLines
* First round of prepping setuptools for inclusion in Python 2.5: movePJ Eby2006-04-141-83/+0
| | | | | | | | | | site.py to setuptools/site-patch.py; reinstate 'python -m easy_install' support; use distutils' "upload" command when running under 2.5. --HG-- branch : distribute extra : source : fbb6c89a74aa47a556a936202d2e50051b067940 extra : histedit_source : 778122fc56bcca6f5a1dbd5a475df11d29028730
* Avoid import loop in Python 3.3. Fixes #304.Stefan H. Holek2012-10-081-1/+2
| | | | | | --HG-- branch : distribute extra : rebase_source : 8ce699d489f708a68338b2417771854174a734e8
* Added automatic handling of installation conflicts. Eggs are now shifted toPJ Eby2006-03-111-9/+9
| | | | | | | | | | | | | the front of sys.path, in an order consistent with where they came from, making EasyInstall seamlessly co-operate with system package managers. The ``--delete-conflicting`` and ``--ignore-conflicts-at-my-risk`` options are now no longer necessary, and will generate warnings at the end of a run if you use them. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042965
* New version of site.py hack, for better compatibility with distros thatPJ Eby2006-02-101-398/+72
| | | | | | | | | | | | | | | patch the stdlib site.py. This version runs the stdlib site.py, then tries to hack sys.path back to something resembling what the old version did. Unfortunately, this is complex since site.py and .pth files can munge the path in rather arbitrary ways, and the initial setup of sys.path is dependent on the platform and Python version. This code has been tested on Linux, cygwin, and Windows Python, versions 2.2, 2.3, and 2.4 (although not all versions on all platforms), and appears to perform as intended. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042302
* Fix a typo in patched site.py.PJ Eby2005-10-171-1/+1
| | | | | | --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041263
* Significantly enhanced support and docs for "non-root" installation,PJ Eby2005-10-171-0/+408
including both "virtual" and PYTHONPATH-based installs. The activation precedence of distributions has also changed so that PYTHONPATH-based non-root installs can include eggs that override system-defined packages (whether managed or unmanaged). This version should eliminate most common installation complaints from non-root Python users. Note: this version includes a hacked 'site.py' to support processing .pth files in directories that come *before* site-packages on sys.path. However, because of its placement, it should only come into play when a user puts the setuptools .egg file *directly* on PYTHONPATH, so it doesn't affect "virtual" or "root" installations. It's strictly to provide support for luddites who refuse to give up their existing non-root PYTHONPATH setup unless you pry it from their cold, dead hands. :) --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041262