tensorflow/third_party/pasta/pasta.BUILD
Itai Zukerman 8fa1dfaa38 BUILD.bazel files in //third_party/name were by convention copied to the
root of the 3P repository.  But BUILD.bazel was also being interpreted by
bazel as the BUILD file for the //third_party/name folder, which is wrong.

This change renames those files to name.BUILD, a convention already being
used by some packages.

PiperOrigin-RevId: 409278565
Change-Id: Ib99c3474ec0b20d04cdb9d828f68c8303caec5fe
2021-11-11 17:08:47 -08:00

32 lines
757 B
Plaintext

# Description:
# AST-based python refactoring.
load("//:build_defs.bzl", "copy_srcs")
licenses(["notice"]) # Apache2
exports_files(["LICENSE"])
py_library(
name = "pasta",
srcs = copy_srcs([
"__init__.py",
"augment/__init__.py",
"augment/errors.py",
"augment/import_utils.py",
"augment/inline.py",
"augment/rename.py",
"base/__init__.py",
"base/annotate.py",
"base/ast_constants.py",
"base/ast_utils.py",
"base/codegen.py",
"base/formatting.py",
"base/fstring_utils.py",
"base/scope.py",
"base/test_utils.py",
"base/token_generator.py",
]),
srcs_version = "PY3",
visibility = ["//visibility:public"],
)