]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
_auto_deps.py: update comment
authorBrian Warner <warner@allmydata.com>
Tue, 29 Jan 2008 20:53:21 +0000 (13:53 -0700)
committerBrian Warner <warner@allmydata.com>
Tue, 29 Jan 2008 20:53:21 +0000 (13:53 -0700)
_auto_deps.py

index 97656ba82df573d9b4d417e50ca209eec49b068a..9d6dcc334b1501159dc6e60c5fffb2e17343e4f9 100644 (file)
@@ -23,11 +23,14 @@ def require_auto_deps():
             except pkg_resources.DistributionNotFound:
                 # there is no .egg-info present for this requirement, which
                 # either means that it isn't installed, or it is installed in
-                # a way that setuptools can't find it (but regular python
+                # a way that pkg_resources can't find it (but regular python
                 # might). The __import__ below will pass the second case,
                 # which is good enough for us. There are several
                 # distributions which provide our dependencies just fine, but
-                # they don't ship .egg-info files.
+                # they don't ship .egg-info files. Note that if there *is* an
+                # .egg-info file, but it indicates an older version, then
+                # we'll get a VersionConflict error instead of
+                # DistributionNotFound.
                 pass
     for requirement in install_requires:
         reqparts = requirement.split()