]> crepu.dev Git - config.git/blame - djavu-asus/elpy/rpc-venv/lib/python3.11/site-packages/setuptools/_reqs.py
Configuracion en desarrollo PC pega
[config.git] / djavu-asus / elpy / rpc-venv / lib / python3.11 / site-packages / setuptools / _reqs.py
CommitLineData
53e6db90
DC
1import setuptools.extern.jaraco.text as text
2
3from pkg_resources import Requirement
4
5
6def parse_strings(strs):
7 """
8 Yield requirement strings for each specification in `strs`.
9
10 `strs` must be a string, or a (possibly-nested) iterable thereof.
11 """
12 return text.join_continuation(map(text.drop_comment, text.yield_lines(strs)))
13
14
15def parse(strs):
16 """
17 Deprecated drop-in replacement for pkg_resources.parse_requirements.
18 """
19 return map(Requirement, parse_strings(strs))