Skip to content

Commit

Permalink
Let the build_pip_package tool depends on the simple console on windows.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 338710296
  • Loading branch information
xunkai55 authored and tflite-support-robot committed Oct 23, 2020
1 parent 5ea9f06 commit 3faaca9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tensorflow_lite_support/tools/pip_package/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ filegroup(
sh_binary(
name = "build_pip_package",
srcs = ["build_pip_package.sh"],
data = COMMON_PIP_DEPS,
data = COMMON_PIP_DEPS +
select({
"@org_tensorflow//tensorflow:windows": [
":simple_console_for_windows",
],
"//conditions:default": [
],
}),
)

# On Windows, python binary is a zip file of runfiles tree.
Expand Down

0 comments on commit 3faaca9

Please sign in to comment.