Skip to content

Commit 5c2c663

Browse files
authored
Hack to restore pip install for Python 2.x
1 parent 86966fb commit 5c2c663

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def get_requirements():
66
reqs = []
77
for filename in ["requirements-base.txt", "requirements-dashboard.txt", "requirements-setuptools.txt"]:
88
with open(filename, "r") as f:
9-
reqs += [x.strip() for x in f.readlines() if x.strip() and not (x.strip().startswith("#") or x.strip().startswith("git+git"))]
9+
reqs += [x.strip().split(";")[0] for x in f.readlines() if x.strip() and not (x.strip().startswith("#") or x.strip().startswith("git+git"))]
1010
return reqs
1111

1212

0 commit comments

Comments
 (0)