diff --git a/extra_requirements.txt b/extra_requirements.txt index c8b6cd1..e4189fc 100644 --- a/extra_requirements.txt +++ b/extra_requirements.txt @@ -1 +1 @@ -PyMart: genes \ No newline at end of file +pymart @ git+https://github.com/ivanp1994/PyMart.git@main: genes \ No newline at end of file diff --git a/setup.py b/setup.py index cba2128..52130bc 100644 --- a/setup.py +++ b/setup.py @@ -1,5 +1,4 @@ import os -import re import setuptools from collections import defaultdict @@ -40,9 +39,8 @@ def get_extra_requires(): if k.strip() and not k.startswith("#"): tags = set() if ":" in k: - k, v = k.split(":") + k, v = k.rsplit(":", 1) tags.update(vv.strip() for vv in v.split(",")) - tags.add(re.split("[<=>]", k)[0]) for t in tags: extra_dependencies[t].add(k) @@ -50,7 +48,6 @@ def get_extra_requires(): extra_dependencies["full"] = set( vv for v in extra_dependencies.values() for vv in v ) - return extra_dependencies