code: def get_requirements(opts):
      ''' Get the proper requirements file based on the optional argument '''
  
      if opts.dev:
          name = 'requirements_dev.txt'
      elif opts.doc:
          name = 'requirements_doc.txt'
      else:
          name = 'requirements.txt'
  
      requirements_file = os.path.join(os.path.dirname(__file__), name)
      install_requires = [line.strip().replace('==', '>=') for line in open(requirements_file)
                          if not line.strip().startswith('#') and line.strip() != '']
      return install_requiref get_requirements(opts):
      ''' Get the proper requirements file based on the optional argument '''
  
      if opts.dev:
          name = 'requirements_dev.txt'
      elif opts.doc:
          name = 'requirements_doc.txt'
      else:
          name = 'requirements.txt'
  
      requirements_file = os.path.join(os.path.dirname(__file__), name)
      install_requires = [line.strip().replace('==', '>=') for line in open(requirements_file)
                          if not line.strip().startswith('#') and line.strip() != '']
      return install_requires
docs: Get the proper requirements file based on the optional argument