def get_extra_requires(path, add_all=True):
    """Currently not used. Dependencies are
    hard-coded below. We currently have a problem
    with setuptools and external extra dependency file"""
    with open(path) as fp:
        extra_deps = defaultdict(set)
        for line in fp:
            if line.strip() and not line.startswith("#"):
                tags = set()
                if ":" in line:
                    k, v = line.split(":")
                    tags.update(vv.strip() for vv in v.split(","))
                for t in tags:
                    extra_deps[t].add(k)

        # add tag `all` at the end
        if add_all:
            extra_deps["all"] = set(vv for v in extra_deps.values() for vv in v)

    return extra_deps
Currently not used. Dependencies are
    hard-coded below. We currently have a problem
    with setuptools and external extra dependency file
setup.py