20 lines
509 B
Python
20 lines
509 B
Python
load("@xla//third_party/rules_python/python:py_binary.bzl", "py_binary")
|
|
load("//tensorflow:tf_version.bzl", "TF_VERSION")
|
|
|
|
package(
|
|
# copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "calculate_full_version",
|
|
srcs = ["calculate_full_version.py"],
|
|
args = ["--wheel-version={}".format(TF_VERSION)],
|
|
strict_deps = True,
|
|
)
|
|
|
|
exports_files(
|
|
srcs = glob(["Dockerfile.*"]),
|
|
visibility = ["//visibility:public"],
|
|
)
|