def configure_dev(py_version: str, sdk: str):
    """Configure Qualcomm SDK for model development."""
    os.environ["PIP_EXTRA_ARGS"] = "--no-cache-dir"

    resource_path = "olive.platform_sdk.qualcomm"
    if sdk == "snpe":
        sdk_env = SNPESDKEnv()
    else:
        sdk_env = QNNSDKEnv()
    sdk_arch = sdk_env.target_arch
    if sdk_arch not in (SDKTargetDevice.x86_64_linux, SDKTargetDevice.x86_64_windows):
        return

    script_name = "create_python_env.sh" if platform.system() == OS.LINUX else "create_python_env.ps1"

    logger.info("Configuring %s for %s with python %s...", sdk, sdk_arch, py_version)
    cmd = None
    with resources.path(resource_path, script_name) as create_python_env_path:  # pylint: disable=deprecated-method
        if platform.system() == OS.LINUX:
            cmd = f"bash {create_python_env_path} -v {py_version} --sdk {sdk}"
        elif platform.system() == OS.WINDOWS:
            cmd = f"powershell {create_python_env_path} {py_version} {sdk}"
        run_subprocess(cmd, check=True)
    logger.info("Done")
Configure Qualcomm SDK for model development.
olive/platform_sdk/qualcomm/configure/configure.py