Remove the `base_deps = ['django-ldapdb']` line, and do instead `base_deps.append(line.split('#egg=')[1])`