commit | b657cb4b918306a7a1492f3764b63a4aaea4162a | [log] [tgz] |
---|---|---|
author | Jisi Liu <jisi.liu@gmail.com> | Thu Oct 22 13:44:15 2015 -0700 |
committer | Jisi Liu <jisi.liu@gmail.com> | Thu Oct 22 13:44:15 2015 -0700 |
tree | 6d58463b102dbcd9005191bcc5dc771000949fd7 | |
parent | fbc51b70181d80bc1dc45230495ca896d54f5193 [diff] [blame] |
fix six package path. --strip_prefix doesn't seem to work.
diff --git a/six.BUILD b/six.BUILD index a259232..55c53a4 100644 --- a/six.BUILD +++ b/six.BUILD
@@ -1,5 +1,12 @@ +genrule( + name = "copy_six", + srcs = ["six-1.10.0/six.py"], + outs = ["six.py"], + cmd = "cp $< $(@)", +) + py_library( name = "six", - srcs = ["six-1.10.0/six.py"], + srcs = ["six.py"], visibility = ["//visibility:public"], )