Commit 4e19317e authored by Robert Bradshaw's avatar Robert Bradshaw Committed by GitHub

Merge pull request #2896 fix bazel rule pyx_library example

parents e39ab940 243e98b0
......@@ -11,8 +11,8 @@ load("@cython//Tools:rules.bzl", "pyx_library")
pyx_library(name = 'mylib',
srcs = ['a.pyx', 'a.pxd', 'b.py', 'pkg/__init__.py', 'pkg/c.pyx'],
py_deps = ['//py_library/dep'],
data = ['//other/data'],
# python library deps passed to py_library
deps = ['//py_library/dep']
)
The __init__.py file must be in your srcs list so that Cython can resolve
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment