summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReinout van Rees <reinout@vanrees.org>2009-10-14 12:35:31 +0200
committerReinout van Rees <reinout@vanrees.org>2009-10-14 12:35:31 +0200
commitf0daab74fc160d92ff534af1097c892140f6a46b (patch)
treef9244f54bce6e2c39d3011ebfef4f85ebd4f73ba
parent2bc44120a777de52ae38f4c932db074bc300f4c9 (diff)
downloadpython-setuptools-git-f0daab74fc160d92ff534af1097c892140f6a46b.tar.gz
Indicated spot where extra setuptools >= 0.7 check needs to happen
--HG-- branch : distribute extra : rebase_source : 6b80caf47a8c7642e629af9f271f33e25a7c890f
-rw-r--r--pkg_resources.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg_resources.py b/pkg_resources.py
index 2fbf415d..1d5d8643 100644
--- a/pkg_resources.py
+++ b/pkg_resources.py
@@ -2239,6 +2239,10 @@ class Distribution(object):
"""Insert self.location in path before its nearest parent directory"""
loc = loc or self.location
+
+ # TODO: raise error if we're adding setuptools >= 0.7 as that is
+ # guaranteed to be incompatible with distribute.
+
if not loc:
return