original_docstring: Parse requirements.txt and return a list of dependencies
docstring: Parse requirements.txt and return a list of dependencies
docstring_tokens: Parse requirements . txt and return a list of dependencies
code: def _get_dependencies():
      """Parse requirements.txt and return a list of dependencies"""
      with open(os.path.join(HERE, "requirements.txt")) as f:
          requirements = f.read()
  
      result = []
      requirements = requirements.split('\n')
      for r in requirements:
          if r == '# setup.py - exclude':
              break
          if r == '' or r.startswith('#'):
              continue
          result.append(r)
      return result
code_tokens: def _get_dependencies ( ) : with open ( os . path . join ( HERE , "requirements.txt" ) ) as f : requirements = f . read ( ) result = [ ] requirements = requirements . split ( '\n' ) for r in requirements : if r == '# setup.py - exclude' : break if r == '' or r . startswith ( '#' ) : continue result . append ( r ) return result
short_docstring: Parse requirements.txt and return a list of dependencies
short_docstring_tokens: Parse requirements . txt and return a list of dependencies
comment: """Parse requirements.txt and return a list of dependencies"""