diff options
author | Reinout van Rees <reinout@vanrees.org> | 2009-10-14 12:35:31 +0200 |
---|---|---|
committer | Reinout van Rees <reinout@vanrees.org> | 2009-10-14 12:35:31 +0200 |
commit | f0daab74fc160d92ff534af1097c892140f6a46b (patch) | |
tree | f9244f54bce6e2c39d3011ebfef4f85ebd4f73ba | |
parent | 2bc44120a777de52ae38f4c932db074bc300f4c9 (diff) | |
download | python-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.py | 4 |
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 |