diff options
Diffstat (limited to 'pkg_resources.py')
| -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 |
