]>
crepu.dev Git - config.git/blob - djavu-asus/emacs/elpy/rpc-venv/lib/python3.11/site-packages/setuptools/_reqs.py
ca7241746b18940a5f9a4bcd9dddd4b70a12e3f7
1 import setuptools
.extern
.jaraco
.text
as text
3 from pkg_resources
import Requirement
6 def parse_strings(strs
):
8 Yield requirement strings for each specification in `strs`.
10 `strs` must be a string, or a (possibly-nested) iterable thereof.
12 return text
.join_continuation(map(text
.drop_comment
, text
.yield_lines(strs
)))
17 Deprecated drop-in replacement for pkg_resources.parse_requirements.
19 return map(Requirement
, parse_strings(strs
))