mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
667 B
30 lines
667 B
6 years ago
|
# Adapted with modifications from tensorflow/third_party/cython.BUILD
|
||
|
|
||
|
py_library(
|
||
|
name="cython_lib",
|
||
|
srcs=glob(
|
||
|
["Cython/**/*.py"],
|
||
|
exclude=[
|
||
|
"**/Tests/*.py",
|
||
|
],
|
||
|
) + ["cython.py"],
|
||
|
data=glob([
|
||
|
"Cython/**/*.pyx",
|
||
|
"Cython/Utility/*.*",
|
||
|
"Cython/Includes/**/*.pxd",
|
||
|
]),
|
||
|
srcs_version="PY2AND3",
|
||
|
visibility=["//visibility:public"],
|
||
|
)
|
||
|
|
||
|
# May not be named "cython", since that conflicts with Cython/ on OSX
|
||
|
py_binary(
|
||
|
name="cython_binary",
|
||
|
srcs=["cython.py"],
|
||
|
main="cython.py",
|
||
|
srcs_version="PY2AND3",
|
||
|
visibility=["//visibility:public"],
|
||
|
deps=["cython_lib"],
|
||
|
)
|
||
|
|