mirror of
https://github.com/vale981/ray
synced 2025-03-04 17:41:43 -05:00
28 lines
662 B
Text
28 lines
662 B
Text
# Adapted from grpc/third_party/cython.BUILD
|
|
|
|
# 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
|
|
filegroup(
|
|
name="cython_binary",
|
|
srcs=["cython.py"],
|
|
visibility=["//visibility:public"],
|
|
data=["cython_lib"],
|
|
)
|