def check_requirements(dist, attr, value):
try:<EOL><INDENT>list(pkg_resources.parse_requirements(value))<EOL><DEDENT>except (TypeError,ValueError):<EOL><INDENT>raise DistutilsSetupError(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>" % (attr,)<EOL>)<EOL><DEDENT>
Verify that install_requires is a valid requirements list