aboutsummaryrefslogtreecommitdiffstats
path: root/pythoneggs.py
diff options
context:
space:
mode:
Diffstat (limited to 'pythoneggs.py')
-rwxr-xr-xpythoneggs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pythoneggs.py b/pythoneggs.py
index a626873..ce92fb1 100755
--- a/pythoneggs.py
+++ b/pythoneggs.py
@@ -59,7 +59,9 @@ for f in files:
platlib = get_python_lib(standard_lib=1, plat_specific=1).split(version[:3])[0]
for lib in (purelib, platlib):
if lib in f:
- py_deps[name].append(('==',f.split(lib)[1].split(sep)[0]))
+ spec = ('>=',f.split(lib)[1].split(sep)[0])
+ if not spec in py_deps[name]:
+ py_deps[name].append(spec)
if lower.endswith('.egg') or \
lower.endswith('.egg-info') or \
lower.endswith('.egg-link'):