Update requirements
parent
0f8f4f4b54
commit
a20c631410
|
@ -215,7 +215,7 @@ def core_requirements():
|
|||
"""Gather core requirements out of setup.py."""
|
||||
with open("setup.py") as inp:
|
||||
reqs_raw = re.search(r"REQUIRES = \[(.*?)\]", inp.read(), re.S).group(1)
|
||||
return re.findall(r"'(.*?)'", reqs_raw)
|
||||
return [x[1] for x in re.findall(r"(['\"])(.*?)\1", reqs_raw)]
|
||||
|
||||
|
||||
def gather_recursive_requirements(domain, seen=None):
|
||||
|
|
Loading…
Reference in New Issue