github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/third_party/pasta/BUILD.bazel (about)

     1  # Description:
     2  #   AST-based python refactoring.
     3  load("@//third_party/pasta:build_defs.bzl", "copy_srcs")
     4  
     5  licenses(["notice"])  # Apache2
     6  
     7  exports_files(["LICENSE"])
     8  
     9  py_library(
    10      name = "pasta",
    11      srcs = copy_srcs([
    12          "__init__.py",
    13          "augment/__init__.py",
    14          "augment/errors.py",
    15          "augment/import_utils.py",
    16          "augment/inline.py",
    17          "augment/rename.py",
    18          "base/__init__.py",
    19          "base/annotate.py",
    20          "base/ast_constants.py",
    21          "base/ast_utils.py",
    22          "base/codegen.py",
    23          "base/formatting.py",
    24          "base/scope.py",
    25          "base/test_utils.py",
    26          "base/token_generator.py",
    27      ]),
    28      srcs_version = "PY2AND3",
    29      visibility = ["//visibility:public"],
    30  )