diff options
author | 2018-01-08 10:27:15 -0800 | |
---|---|---|
committer | 2018-01-08 10:27:15 -0800 | |
commit | dc07d56b8dd32901b562728fe9f5e8605bff7e0a (patch) | |
tree | 7a090b32d13063aaa2345b2cdc35f896e91a8704 /third_party | |
parent | a77096897f1a8068ca8f57ffb6e3d9e28508cc27 (diff) | |
parent | 3392e77ccc85ccb3a21b7d8350c62ff907b2a205 (diff) |
Merge commit for internal changes
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/astor.BUILD | 23 | ||||
-rw-r--r-- | third_party/gast.BUILD | 18 | ||||
-rw-r--r-- | third_party/termcolor.BUILD | 14 |
3 files changed, 55 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"], +) diff --git a/third_party/gast.BUILD b/third_party/gast.BUILD new file mode 100644 index 0000000000..0ccf8eff58 --- /dev/null +++ b/third_party/gast.BUILD @@ -0,0 +1,18 @@ +# Description: +# Python AST that abstracts the underlying Python version. + +licenses(["notice"]) # BSD 3-clause + +exports_files(["LICENSE"]) + +py_library( + name = "gast", + srcs = [ + "gast/__init__.py", + "gast/ast2.py", + "gast/ast3.py", + "gast/astn.py", + "gast/gast.py", + ], + visibility = ["//visibility:public"], +) diff --git a/third_party/termcolor.BUILD b/third_party/termcolor.BUILD new file mode 100644 index 0000000000..94fcb3beaa --- /dev/null +++ b/third_party/termcolor.BUILD @@ -0,0 +1,14 @@ +# Description: +# This is a library for outputing color to the terminal. + +licenses(["notice"]) # MIT + +exports_files(["LICENSE"]) + +py_library( + name = "termcolor", + srcs = [ + "termcolor.py", + ], + visibility = ["//visibility:public"], +) |