summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-11-06 16:41:47 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-11-06 16:41:47 +0000
commitb069a2002dd1efa6a2dbb5c9b80b30fbb704b838 (patch)
tree26d38c612caf7c3eb14976c9486a557ce5b7a889
parent15ca906113b8cadc68bf9e2f491aed423dd16366 (diff)
downloadimport-b069a2002dd1efa6a2dbb5c9b80b30fbb704b838.tar.gz
also for check_lt and check_gt
-rwxr-xr-xexts/pip.find_deps2
1 files changed, 2 insertions, 0 deletions
diff --git a/exts/pip.find_deps b/exts/pip.find_deps
index d11054b..8cd8364 100755
--- a/exts/pip.find_deps
+++ b/exts/pip.find_deps
@@ -152,6 +152,7 @@ def check_lt(dep, version):
# than this greater_than version)
warn('conflict! > %s conflicts with < %s'
% (dep.greater_than, version))
+ dep.conflicts.append((('>', dep.greater_than), ('<', version)))
else:
dep.less_than = version
@@ -163,6 +164,7 @@ def check_gt(dep, version):
# less_than version)
warn('conflict! < %s conflicts with > %s'
% (dep.less_than, version))
+ dep.conflicts.append((('<', dep.less_than), ('>', version)))
def find_build_deps(source, name, version=None):
debug('source: %s' % source)