Skip to content
Snippets Groups Projects
Commit 6fb586ec3808 authored by Robert Bradshaw's avatar Robert Bradshaw
Browse files

Rename BUILD file to avoid conflict with build directory.

For case-insensitive systems.

Closes #1482
parent b41814ef0833
Branches
No related tags found
No related merge requests found
# Bazel build file for inclusion as external dependency.
#
# Most useful is the pyx_library rule from //Tools:rules.bzl
# which mirrors py_library but compiles .pyx files.
py_library(
name = "cython_lib",
srcs = glob(
["Cython/**/*.py"],
exclude = [
"**/Tests/*.py",
],
) + ["cython.py"],
data = glob([
"Cython/**/*.pyx",
"Cython/Utility/*.*",
"Cython/Includes/**/*.pxd",
]),
visibility = ["//visibility:public"],
)
py_binary(
name = "cythonize",
srcs = ["cythonize.py"],
visibility = ["//visibility:public"],
deps = ["cython_lib"],
)
py_binary(
name = "cython",
srcs = ["cython.py"],
visibility = ["//visibility:public"],
deps = ["cython_lib"],
)
# Bazel build file for inclusion as external dependency.
#
# Most useful is the pyx_library rule from //Tools:rules.bzl
# which mirrors py_library but compiles .pyx files.
py_library(
name = "cython_lib",
srcs = glob(
["Cython/**/*.py"],
exclude = [
"**/Tests/*.py",
],
) + ["cython.py"],
data = glob([
"Cython/**/*.pyx",
"Cython/Utility/*.*",
"Cython/Includes/**/*.pxd",
]),
visibility = ["//visibility:public"],
)
py_binary(
name = "cythonize",
srcs = ["cythonize.py"],
visibility = ["//visibility:public"],
deps = ["cython_lib"],
)
py_binary(
name = "cython",
srcs = ["cython.py"],
visibility = ["//visibility:public"],
deps = ["cython_lib"],
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment