parameters: (platform)
return_statement: return [
      line.strip()
      for line in open(requirementsPath).readlines()
      if not line.startswith("#") and (not line.startswith("pycapnp") or includePycapnp)
    ]
docstring: Read the requirements.txt file and parse into requirements for setup's
    install_requirements option.
docstring_summary: Read the requirements.txt file and parse into requirements for setup's
    install_requirements option.
docstring_tokens: Read the requirements . txt file and parse into requirements for setup s install_requirements option .
function: def findRequirements(platform):
    """
    Read the requirements.txt file and parse into requirements for setup's
    install_requirements option.
    """
    includePycapnp = platform not in WINDOWS_PLATFORMS
    requirementsPath = fixPath(os.path.join(PY_BINDINGS, "requirements.txt"))
    return [
      line.strip()
      for line in open(requirementsPath).readlines()
      if not line.startswith("#") and (not line.startswith("pycapnp") or includePycapnp)
    ]
function_tokens: def findRequirements ( platform ) : includePycapnp = platform not in WINDOWS_PLATFORMS requirementsPath = fixPath ( os . path . join ( PY_BINDINGS , "requirements.txt" ) ) return [ line . strip ( ) for line in open ( requirementsPath ) . readlines ( ) if not line . startswith ( "#" ) and ( not line . startswith ( "pycapnp" ) or includePycapnp ) ]