class_docstr: Build the deployment package for StreamAlert Lambdas
class_docstr_tok: ["Build","the","deployment","package","for","StreamAlert","Lambdas"]
docstr: Install all libraries into the deployment package folder
  
  Returns:
      bool: False if the pip command failed to install requirements, True otherwise
docstr_tok: ["Install","all","libraries","into","the","deployment","package","folder","Returns",":","bool",":","False","if","the","pip","command","failed","to","install","requirements",",","True","otherwise"]
code: def _resolve_libraries(self):
      """Install all libraries into the deployment package folder
  
      Returns:
          bool: False if the pip command failed to install requirements, True otherwise
      """
      # Merge any custom libs needed by rules, etc
      libs_to_install = self.REQUIRED_LIBS.union(
          set(
              self.config["global"]["general"].get(
                  "third_party_libraries", []
              )
          )
      )
  
      LOGGER.info(
          "Installing libraries: %s", ", ".join(libs_to_install)
      )
      pip_command = ["pip", "install"]
      pip_command.extend(libs_to_install)
      pip_command.extend(
          [
              "--no-cache-dir",
              "--upgrade",
              "--target",
              self.temp_package_path,
          ]
      )
  
      # Return True if the pip command is successfully run
      return run_command(
          pip_command, cwd=self.temp_package_path, quiet=True
      )
  
file_path: streamalert/streamalert_cli/manage_lambda/package.py
imports: import os
  import shutil
  import tempfile
  from streamalert.shared.logger import get_logger
  from streamalert_cli.helpers import run_command
label_desc: Use image node_id 5 for calling the LambdaPackage obj's underlying member method code with example usage: obj._resolve_libraries() and returns: run_command