def try_bundle()

in nimble_studio_auto_workstation_scheduler/local_bundler.py [0:0]


    def try_bundle(self, output_dir: str, options: BundlingOptions) -> bool:
        try:
            subprocess.check_call([sys.executable, "-m", "pip", "--version"])
        except:
            return False

        copytree(get_lambda_code_dir(), output_dir)

        subprocess.check_call([
            sys.executable, 
            "-m", 
            "pip",
            "install",
            "-r", 
            os.path.join(get_lambda_code_dir(), "requirements.txt"),
            "-t",
            output_dir
        ])
        return True