Files
openide/python/python-exec-service/execService.python/BUILD.bazel
Ilya.Kazakevich 2e14347844 Python: extract python-specific extensions from exec service to simplify API and make it extendable for intepreters.
Use `ExecService` `api.kt` to exec any binary and extensions from `execService.python/api.kt` for python-specific things (i.e helpers)

GitOrigin-RevId: bb217798a9d1ee886c4b12220ec1f66a5ef08336
2025-06-07 22:05:56 +00:00

66 lines
2.2 KiB
Python

### auto-generated section `build intellij.python.community.execService.python` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "execService.python_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "execService.python",
module_name = "intellij.python.community.execService.python",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"//python/python-exec-service:community-execService",
"//python/openapi:community",
"@lib//:jetbrains-annotations",
"@lib//:kotlinx-coroutines-core",
"//platform/eel",
"//platform/eel-provider",
"//python/impl.helperLocator:community-helpersLocator",
"//platform/util",
"//platform/core-api:core",
"//python/python-sdk:sdk",
],
runtime_deps = [":execService.python_resources"]
)
jvm_library(
name = "execService.python_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True),
associates = [":execService.python"],
deps = [
"@lib//:kotlin-stdlib",
"//python/python-exec-service:community-execService",
"//python/python-exec-service:community-execService_test_lib",
"//python/openapi:community",
"//python/openapi:community_test_lib",
"@lib//:jetbrains-annotations",
"@lib//:kotlinx-coroutines-core",
"//platform/eel",
"//platform/eel-provider",
"//python/impl.helperLocator:community-helpersLocator",
"@lib//:junit5",
"//platform/testFramework/junit5",
"//platform/testFramework/junit5:junit5_test_lib",
"//python/junit5Tests-framework:community-junit5Tests-framework_test_lib",
"//platform/testFramework/junit5/eel",
"//platform/testFramework/junit5/eel:eel_test_lib",
"@lib//:junit5Params",
"//platform/util",
"//platform/core-api:core",
"//python/python-sdk:sdk",
"//python/python-sdk:sdk_test_lib",
],
runtime_deps = [":execService.python_resources"]
)
jvm_test(
name = "execService.python_test",
runtime_deps = [":execService.python_test_lib"]
)
### auto-generated section `build intellij.python.community.execService.python` end