aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/astor.BUILD
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-01-06 05:34:03 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-06 05:37:14 -0800
commit4080654c8f03ec34f2822c14db5fd8b75f63d569 (patch)
tree97fa37296f2a6edc3ab2be03b27ca43630e5efca /third_party/astor.BUILD
parent037372630d499a956f83ded5a2565b442fa3392f (diff)
Add bazel file for astor, gast and termcolor. Rewrite these deps' internal counterparts instead of removing them. Re-enable a few tests to verify.
PiperOrigin-RevId: 181035075
Diffstat (limited to 'third_party/astor.BUILD')
-rw-r--r--third_party/astor.BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/third_party/astor.BUILD b/third_party/astor.BUILD
new file mode 100644
index 0000000000..c244e47ab7
--- /dev/null
+++ b/third_party/astor.BUILD
@@ -0,0 +1,23 @@
+# Description:
+# AST round-trip manipulation for Python.
+
+licenses(["notice"]) # New BSD
+
+exports_files(["LICENSE"])
+
+py_library(
+ name = "astor",
+ srcs = [
+ "astor/__init__.py",
+ "astor/code_gen.py",
+ "astor/codegen.py",
+ "astor/file_util.py",
+ "astor/node_util.py",
+ "astor/op_util.py",
+ "astor/rtrip.py",
+ "astor/source_repr.py",
+ "astor/string_repr.py",
+ "astor/tree_walk.py",
+ ],
+ visibility = ["//visibility:public"],
+)