aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools.txt
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-08-14 01:45:38 +0000
committerPJ Eby <distutils-sig@python.org>2005-08-14 01:45:38 +0000
commit15233b3d39a81fb7164465f65b182eee65983b56 (patch)
tree83e46285d0fadf68ee4aa8e7fc46efb27d6e85c0 /setuptools.txt
parent8672fe00fe29ded78363f55a358c168774c7d9b4 (diff)
downloadexternal_python_setuptools-15233b3d39a81fb7164465f65b182eee65983b56.tar.gz
external_python_setuptools-15233b3d39a81fb7164465f65b182eee65983b56.tar.bz2
external_python_setuptools-15233b3d39a81fb7164465f65b182eee65983b56.zip
Document the "Environment" class, and simplify its API.
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041194
Diffstat (limited to 'setuptools.txt')
-rwxr-xr-xsetuptools.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools.txt b/setuptools.txt
index 1beb8327..5808ec6f 100755
--- a/setuptools.txt
+++ b/setuptools.txt
@@ -1852,7 +1852,11 @@ Release Notes/Change History
that tells it to only yield distributions whose location is the passed-in
path. (It defaults to False, so that the default behavior is unchanged.)
- * ``AvailableDistributions`` is now called ``Environment``
+ * ``AvailableDistributions`` is now called ``Environment``, and the
+ ``get()``, ``__len__()``, and ``__contains__()`` methods were removed,
+ because they weren't particularly useful. ``__getitem__()`` no longer
+ raises ``KeyError``; it just returns an empty list if there are no
+ distributions for the named project.
* The ``resolve()`` method of ``Environment`` is now a method of
``WorkingSet`` instead, and the ``best_match()`` method now uses a working