Skip to content

Commit 96c6774

Browse files
committed
[NO TESTS] WIP
1 parent f0667bd commit 96c6774

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

py/BUILD.bazel

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
load("@aspect_bazel_lib//:bzl_library.bzl", "bzl_library")
2+
load("@bazel_skylib//rules:common_settings.bzl", "string_flag")
23

34
# For Bazel 6.x compatibility, since
45
# PyRuntimeInfo shipped only with Bazel 7
@@ -9,6 +10,16 @@ alias(
910
visibility = ["//visibility:public"],
1011
)
1112

13+
string_flag(
14+
name = "venv_strategy",
15+
build_setting_default = "dynamic",
16+
values = [
17+
"dynamic",
18+
"static",
19+
],
20+
visibility = ["//visibility:public"],
21+
)
22+
1223
bzl_library(
1324
name = "repositories",
1425
srcs = ["repositories.bzl"],

py/private/py_venv/link.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
import argparse
99
import os
10-
import sys
11-
import site
1210
from pathlib import Path
1311

1412

0 commit comments

Comments
 (0)